Skip to content

Commit

Permalink
Loom -> Cloth로 프로젝트 이름 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
rkttu committed Feb 2, 2024
1 parent 0402e4d commit d2821ff
Show file tree
Hide file tree
Showing 11 changed files with 635 additions and 635 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
Hostess_Project_Path: src\Hostess\Hostess.csproj
ResourceBuilder_Project_Path: src\TableCloth.ResourceBuilder\TableCloth.ResourceBuilder.csproj
Test_Project_Path: src\TableCloth.Test\TableCloth.Test.csproj
Loom_Project_Path: src\Loom\Loom.csproj
#Cloth_Project_Path: src\Cloth\Cloth.csproj
TableCloth_Project_Directory: src\TableCloth
TableCloth_Project_Path: src\TableCloth\TableCloth.csproj
Setup_Project_Name: TableCloth.SetupBuilder
Expand Down Expand Up @@ -81,9 +81,9 @@ jobs:
env:
Configuration: ${{ matrix.configuration }}

# Build Loom project separately
#- name: Publish Loom project
# run: dotnet publish $env:Loom_Project_Path -r win-${{ env.Platform }} --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true -c:$env:Configuration
# Build Cloth project separately
#- name: Publish Cloth project
# run: dotnet publish $env:Cloth_Project_Path -r win-${{ env.Platform }} --self-contained -p:PublishSingleFile=true -p:PublishReadyToRun=true -c:$env:Configuration
# env:
# Configuration: ${{ matrix.configuration }}

Expand Down Expand Up @@ -122,10 +122,10 @@ jobs:
retention-days: 5

# Upload the zip package: https://github.com/actions/upload-artifact
#- name: Upload build artifacts (Loom CLI)
#- name: Upload build artifacts (Cloth CLI)
# uses: actions/upload-artifact@v4
# with:
# name: Loom CLI (${{ matrix.platform }}, ${{ matrix.configuration }})
# path: src\Loom\bin\${{ env.Platform }}\${{ matrix.configuration }}\net8.0\win-${{ env.Platform }}\publish\Loom.exe
# name: Cloth CLI (${{ matrix.platform }}, ${{ matrix.configuration }})
# path: src\Cloth\bin\${{ env.Platform }}\${{ matrix.configuration }}\net8.0\win-${{ env.Platform }}\publish\Cloth.exe
# if-no-files-found: error
# retention-days: 90
60 changes: 30 additions & 30 deletions src/Loom/Loom.csproj → src/Cloth/Cloth.csproj
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Platforms>ARM64;x64</Platforms>
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<Title>Loom</Title>
<AssemblyVersion>1.12.1.0</AssemblyVersion>
<FileVersion>1.12.1.0</FileVersion>
</PropertyGroup>

<PropertyGroup>
<StartupObject>Loom.Program</StartupObject>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\TableCloth.Resources\TableCloth.Resources.csproj" />
</ItemGroup>

<Import Project="..\TableCloth.Shared\TableCloth.Shared.projitems" Label="Shared" />

</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Platforms>ARM64;x64</Platforms>
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<Title>Cloth</Title>
<AssemblyVersion>1.12.1.0</AssemblyVersion>
<FileVersion>1.12.1.0</FileVersion>
</PropertyGroup>

<PropertyGroup>
<StartupObject>Cloth.Program</StartupObject>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\TableCloth.Resources\TableCloth.Resources.csproj" />
</ItemGroup>

<Import Project="..\TableCloth.Shared\TableCloth.Shared.projitems" Label="Shared" />

</Project>
Original file line number Diff line number Diff line change
@@ -1,82 +1,82 @@
using CommandLine;
using System.IO.Compression;

namespace Loom.Options;

[Verb("compose", HelpText = "Write an extended Windows Sandbox package zip file.")]
public sealed class ComposeOption
{
[Option('g', "virtual-gpu",
HelpText = "Enable or disable Virtual GPU.",
Required = false)]
public bool? VirtualGpu { get; set; }

[Option('n', "networking",
HelpText = "Enable or disable networking.",
Required = false)]
public bool? Networking { get; set; }

[Option('v', "video-input",
HelpText = "Enable or disable video input (camera).",
Required = false)]
public bool? VideoInput { get; set; }

[Option('a', "audio-input",
HelpText = "Enable or disable audio input (microphone).",
Required = false)]
public bool? AudioInput { get; set; }

[Option('s', "protected-client",
HelpText = "Enable or disable protected client.",
Required = false)]
public bool? ProtectedClient { get; set; }

[Option('p', "printer-redirection",
HelpText = "Enable or disable printer redirection.",
Required = false)]
public bool? PrinterRedirection { get; set; }

[Option('c', "clipboard-redirection",
HelpText = "Enable or disable clipboard redirection.",
Required = false)]
public bool? ClipboardRedirection { get; set; }

[Option('z', "memory-size",
HelpText = "Memory in mega-byte size.",
Required = false)]
public int? MemorySizeInMb { get; set; }

[Option('l', "compression-level",
HelpText = "Compression level.",
Required = false,
Default = CompressionLevel.Optimal)]
public CompressionLevel CompressionLevel { get; set; }

[Option("startup-command",
HelpText = "Startup inline DOS command.",
SetName = nameof(StartupCommand),
Required = false)]
public string? StartupCommand { get; set; }

[Option("startup-batch-file",
HelpText = "Startup batch file path.",
SetName = nameof(StartupBatchFilePath),
Required = false)]
public string? StartupBatchFilePath { get; set; }

[Option('i', "include",
HelpText = "Files to include.",
Required = false)]
public IEnumerable<string>? FilesToInclude { get; set; }

[Option('f', "force",
HelpText = "Overwrite output file.",
Default = false,
Required = false)]
public bool OverwriteOutputFilePath { get; set; }

[Option('o', "output",
HelpText = "Output file path.",
Required = true)]
public string OutputFilePath { get; set; } = "output.wsbx";
}
using CommandLine;
using System.IO.Compression;

namespace Cloth.Options;

[Verb("compose", HelpText = "Write an extended Windows Sandbox package zip file.")]
public sealed class ComposeOption
{
[Option('g', "virtual-gpu",
HelpText = "Enable or disable Virtual GPU.",
Required = false)]
public bool? VirtualGpu { get; set; }

[Option('n', "networking",
HelpText = "Enable or disable networking.",
Required = false)]
public bool? Networking { get; set; }

[Option('v', "video-input",
HelpText = "Enable or disable video input (camera).",
Required = false)]
public bool? VideoInput { get; set; }

[Option('a', "audio-input",
HelpText = "Enable or disable audio input (microphone).",
Required = false)]
public bool? AudioInput { get; set; }

[Option('s', "protected-client",
HelpText = "Enable or disable protected client.",
Required = false)]
public bool? ProtectedClient { get; set; }

[Option('p', "printer-redirection",
HelpText = "Enable or disable printer redirection.",
Required = false)]
public bool? PrinterRedirection { get; set; }

[Option('c', "clipboard-redirection",
HelpText = "Enable or disable clipboard redirection.",
Required = false)]
public bool? ClipboardRedirection { get; set; }

[Option('z', "memory-size",
HelpText = "Memory in mega-byte size.",
Required = false)]
public int? MemorySizeInMb { get; set; }

[Option('l', "compression-level",
HelpText = "Compression level.",
Required = false,
Default = CompressionLevel.Optimal)]
public CompressionLevel CompressionLevel { get; set; }

[Option("startup-command",
HelpText = "Startup inline DOS command.",
SetName = nameof(StartupCommand),
Required = false)]
public string? StartupCommand { get; set; }

[Option("startup-batch-file",
HelpText = "Startup batch file path.",
SetName = nameof(StartupBatchFilePath),
Required = false)]
public string? StartupBatchFilePath { get; set; }

[Option('i', "include",
HelpText = "Files to include.",
Required = false)]
public IEnumerable<string>? FilesToInclude { get; set; }

[Option('f', "force",
HelpText = "Overwrite output file.",
Default = false,
Required = false)]
public bool OverwriteOutputFilePath { get; set; }

[Option('o', "output",
HelpText = "Output file path.",
Required = true)]
public string OutputFilePath { get; set; } = "output.wsbx";
}
Loading

0 comments on commit d2821ff

Please sign in to comment.