Browse Source

Remove VersionInfoVersion

Ruben 1 năm trước cách đây
mục cha
commit
71ca2b3a76

+ 1 - 1
.github/workflows/WinX64.yml

@@ -97,7 +97,7 @@ jobs:
         uses: Minionguyjpro/[email protected]
         with:
           path: .\Build\install.iss
-          options: /O+ /DMyAppVersion=${{steps.get-version.outputs.file-version}} /DMyAppVersionInfo=${{steps.get-version.outputs.assembly-version}} /DMyAppOutputDir=${{ steps.paths.outputs.output_dir }} /DMyAppExeName=PicView${{steps.get-version.outputs.file-version}}.exe /DMyAppIcon=${{ github.workspace }}\src\PicView.Avalonia.Win32\icon.ico /DMyAppLicenseFile=${{ github.workspace }}\src\PicView.Core\Licenses\LICENSE.txt
+          options: /O+ /DMyAppVersion=${{steps.get-version.outputs.file-version}} /DMyAppOutputDir=${{ steps.paths.outputs.output_dir }} /DMyAppExeName=PicView${{steps.get-version.outputs.file-version}}.exe /DMyAppIcon=${{ github.workspace }}\src\PicView.Avalonia.Win32\icon.ico /DMyAppLicenseFile=${{ github.workspace }}\src\PicView.Core\Licenses\LICENSE.txt
   
       # Step 11: Upload the Inno Setup Installer as an artifact
       - name: Upload Inno Setup Installer

+ 0 - 1
Build/install.iss

@@ -27,7 +27,6 @@ WizardStyle=modern
 UninstallDisplayIcon={app}\{#MyAppExeName}
 UninstallDisplayName={#MyAppName}
 ChangesAssociations=yes
-VersionInfoVersion={#MyAppVersionInfo}
 
 [Files]
 Source: "{#MyAppOutputDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs

+ 1 - 1
src/PicView.Avalonia.Win32/PicView.Avalonia.Win32.csproj

@@ -23,7 +23,7 @@
     <AssemblyName>PicView</AssemblyName>
     <StartupObject>PicView.Avalonia.Win32.Program</StartupObject>
     <LangVersion>preview</LangVersion>
-    <AssemblyVersion>3.0.400</AssemblyVersion>
+    <AssemblyVersion>3.0</AssemblyVersion>
     <FileVersion>3.0</FileVersion>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">