Rename projects to FileShare
This commit is contained in:
+4
-4
@@ -1,5 +1,5 @@
|
||||
#ifndef AppName
|
||||
#define AppName "Avalonia-PC"
|
||||
#define AppName "FileShare-PC"
|
||||
#endif
|
||||
#ifndef AppVersion
|
||||
#define AppVersion "1.0.0"
|
||||
@@ -8,10 +8,10 @@
|
||||
#define AppPublisher "QiCheng"
|
||||
#endif
|
||||
#ifndef AppExeName
|
||||
#define AppExeName "Avalonia-PC.exe"
|
||||
#define AppExeName "FileShare-PC.exe"
|
||||
#endif
|
||||
#ifndef SourceDir
|
||||
#define SourceDir "..\..\package-output\publish\Avalonia-PC\win-x64"
|
||||
#define SourceDir "..\..\package-output\publish\FileShare-PC\win-x64"
|
||||
#endif
|
||||
#ifndef OutputDir
|
||||
#define OutputDir "..\..\package-output\installer"
|
||||
@@ -32,7 +32,7 @@ DefaultDirName={autopf}\{#AppName}
|
||||
DefaultGroupName={#AppName}
|
||||
OutputDir={#OutputDir}
|
||||
OutputBaseFilename={#AppName}-Setup-{#AppVersion}-win-x64
|
||||
SetupIconFile={#RepoRoot}\Avalonia-PC\Assets\avalonia-logo.ico
|
||||
SetupIconFile={#RepoRoot}\FileShare-PC\Assets\avalonia-logo.ico
|
||||
Compression=lzma2
|
||||
SolidCompression=yes
|
||||
WizardStyle=modern
|
||||
@@ -4,7 +4,7 @@ setlocal
|
||||
cd /d "%~dp0.."
|
||||
|
||||
set "APP_VERSION=1.0.0"
|
||||
set "APP_NAME=Avalonia-PC"
|
||||
set "APP_NAME=FileShare-PC"
|
||||
set "APP_PUBLISHER=QiCheng"
|
||||
|
||||
echo Packaging %APP_NAME% %APP_VERSION% for Windows PC...
|
||||
@@ -22,7 +22,7 @@ if "%EXIT_CODE%"=="0" (
|
||||
echo Publish completed, but installer was not created because Inno Setup 6 is not installed.
|
||||
echo This BAT can download Inno Setup into package-scripts\tools. Run it again and allow network access.
|
||||
echo.
|
||||
echo Publish output: %CD%\package-output\publish\Avalonia-PC
|
||||
echo Publish output: %CD%\package-output\publish\FileShare-PC
|
||||
) else (
|
||||
echo Packaging failed. Exit code: %EXIT_CODE%
|
||||
)
|
||||
|
||||
@@ -3,7 +3,7 @@ param(
|
||||
[string]$Configuration = "Release",
|
||||
[string]$Runtime = "win-x64",
|
||||
[string]$Version = "1.0.0",
|
||||
[string]$AppName = "Avalonia-PC",
|
||||
[string]$AppName = "FileShare-PC",
|
||||
[string]$Publisher = "QiCheng",
|
||||
[bool]$SelfContained = $true,
|
||||
[switch]$SingleFile,
|
||||
@@ -14,12 +14,12 @@ param(
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
$repoRoot = Split-Path -Parent $PSScriptRoot
|
||||
$projectPath = Join-Path $repoRoot "Avalonia-PC\Avalonia-PC.csproj"
|
||||
$installerScript = Join-Path $PSScriptRoot "installer\Avalonia-PC.iss"
|
||||
$projectPath = Join-Path $repoRoot "FileShare-PC\FileShare-PC.csproj"
|
||||
$installerScript = Join-Path $PSScriptRoot "installer\FileShare-PC.iss"
|
||||
$buildStamp = Get-Date -Format "yyyyMMddHHmmss"
|
||||
$publishDir = Join-Path $repoRoot "package-output\publish\Avalonia-PC\$Runtime-$buildStamp"
|
||||
$publishDir = Join-Path $repoRoot "package-output\publish\FileShare-PC\$Runtime-$buildStamp"
|
||||
$installerDir = Join-Path $repoRoot "package-output\installer"
|
||||
$appExeName = "Avalonia-PC.exe"
|
||||
$appExeName = "FileShare-PC.exe"
|
||||
$toolsDir = Join-Path $PSScriptRoot "tools"
|
||||
$innoSetupDir = Join-Path $toolsDir "InnoSetup6"
|
||||
$innoSetupInstaller = Join-Path $toolsDir "downloads\innosetup-6.7.2.exe"
|
||||
|
||||
Reference in New Issue
Block a user