Skip to content

Commit

Permalink
feat: 0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraZiling committed Jul 24, 2024
1 parent 0edf8a5 commit 1544186
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -399,4 +399,5 @@ FodyWeavers.xsd
.idea

# Build
build/
build/
/hollow-launcher/target
6 changes: 3 additions & 3 deletions build.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[string] $Version = "0.0.1.0"
[string] $Version = "0.0.2.0"
)

$ErrorActionPreference = "Stop";
Expand All @@ -10,13 +10,13 @@ cargo build --manifest-path .\hollow-launcher\Cargo.toml -r

Write-Output "Start building withRuntime...";

dotnet publish Hollow/Hollow.csproj -o "build/$Version/withRuntime/hollow_app" -r win-x64 -p:SelfContained=true -p:AssemblyVersion=$Version -p:Configuration=Release;
dotnet publish Hollow.Windows/Hollow.Windows.csproj -o "build/$Version/withRuntime/hollow_app" -r win-x64 -p:SelfContained=true -p:AssemblyVersion=$Version -p:Configuration=Release;

Copy-Item -Path ".\hollow-launcher\target\release\Hollow.exe" -Destination ".\build\$Version\withRuntime\Hollow.exe"

Write-Output "Start building withoutRuntime...";

dotnet publish Hollow/Hollow.csproj -o "build/$Version/withoutRuntime/hollow_app" -r win-x64 -p:SelfContained=false -p:AssemblyVersion=$Version -p:Configuration=Release;
dotnet publish Hollow.Windows/Hollow.Windows.csproj -o "build/$Version/withoutRuntime/hollow_app" -r win-x64 -p:SelfContained=false -p:AssemblyVersion=$Version -p:Configuration=Release;

Copy-Item -Path ".\hollow-launcher\target\release\Hollow.exe" -Destination ".\build\$Version\withoutRuntime\Hollow.exe"

Expand Down
2 changes: 1 addition & 1 deletion hollow-launcher/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
panic_then_pause(format!("{:?} is not a directory", root_directory));
}

let executable = root_directory.join("Hollow.exe");
let executable = root_directory.join("Hollow.Windows.exe");
if !executable.exists() {
panic_then_pause(format!("{:?} not found", executable));
}
Expand Down
1 change: 0 additions & 1 deletion hollow-launcher/target/.rustc_info.json

This file was deleted.

3 changes: 0 additions & 3 deletions hollow-launcher/target/CACHEDIR.TAG

This file was deleted.

0 comments on commit 1544186

Please sign in to comment.