diff --git a/installer/Decho-Installer.exe b/installer/Decho-Installer.exe new file mode 100644 index 0000000..a32d423 Binary files /dev/null and b/installer/Decho-Installer.exe differ diff --git a/installer/Installer.iss b/installer/Installer.iss new file mode 100644 index 0000000..d8327e5 --- /dev/null +++ b/installer/Installer.iss @@ -0,0 +1,51 @@ +; Script generated by the Inno Setup Script Wizard. +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! + +#expr Exec('cmd.exe', '/C dotnet build -o "' + SourcePath + '\publish" -c Release ' + SourcePath + '..\src\Decho\') + +#define MyAppName "Decho" +#define MyAppVersion GetVersionNumbersString("/publish/Decho.exe") +#define MyAppPublisher "Stone_Red" +#define MyAppExeName "Decho.exe" + +[Setup] +; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. +; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) +AppId=A8E9C890-C003-4EC8-8B0D-4F5C47DB9BA5 +AppName={#MyAppName} +AppVersion={#MyAppVersion} +;AppVerName={#MyAppName} {#MyAppVersion} +AppPublisher={#MyAppPublisher} +DefaultDirName={autopf}\{#MyAppName} +DisableProgramGroupPage=yes +; The [Icons] "quicklaunchicon" entry uses {userappdata} but its [Tasks] entry has a proper IsAdminInstallMode Check. +UsedUserAreasWarning=no +; Remove the following line to run in administrative install mode (install for all users.) +PrivilegesRequired=lowest +PrivilegesRequiredOverridesAllowed=dialog +OutputBaseFilename={#MyAppName}-Installer +OutputDir=. +Compression=lzma +SolidCompression=yes +WizardStyle=modern + +[Languages] +Name: "english"; MessagesFile: "compiler:Default.isl" +Name: "german"; MessagesFile: "compiler:Languages\German.isl" + +[Tasks] +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked +Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 6.1; Check: not IsAdminInstallMode + +[Files] +Source: "publish\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs +; NOTE: Don't use "Flags: ignoreversion" on any shared system files + +[Icons] +Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" +Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon +Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon + +[Run] +Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent + diff --git a/src/Decho.slnx b/src/Decho.slnx index 5c0a71e..c9dd7da 100644 --- a/src/Decho.slnx +++ b/src/Decho.slnx @@ -1,3 +1,16 @@ - + + + + + + + + + + + + + + diff --git a/src/Decho/Assets/Decho.ico b/src/Decho/Assets/Decho.ico new file mode 100644 index 0000000..77f1cd3 Binary files /dev/null and b/src/Decho/Assets/Decho.ico differ diff --git a/src/Decho/Assets/Decho.png b/src/Decho/Assets/Decho.png new file mode 100644 index 0000000..90cf069 Binary files /dev/null and b/src/Decho/Assets/Decho.png differ diff --git a/src/Decho/Decho.csproj b/src/Decho/Decho.csproj index ff66962..1dc951f 100644 --- a/src/Decho/Decho.csproj +++ b/src/Decho/Decho.csproj @@ -4,8 +4,11 @@ net10.0 enable enable + win-x64;win-x86;linux-x64;linux-arm64 app.manifest true + Assets\Decho.ico + AnyCPU;x64 @@ -13,6 +16,10 @@ + + + + diff --git a/src/Decho/Views/ConnectDialogWindow.axaml b/src/Decho/Views/ConnectDialogWindow.axaml index 67b89b4..37ca0e1 100644 --- a/src/Decho/Views/ConnectDialogWindow.axaml +++ b/src/Decho/Views/ConnectDialogWindow.axaml @@ -11,7 +11,7 @@ SizeToContent="Height" WindowStartupLocation="CenterOwner" CanResize="False" - Icon="/Assets/avalonia-logo.ico"> + Icon="/Assets/Decho.ico"> diff --git a/src/Decho/Views/MainWindow.axaml b/src/Decho/Views/MainWindow.axaml index 6451984..483f673 100644 --- a/src/Decho/Views/MainWindow.axaml +++ b/src/Decho/Views/MainWindow.axaml @@ -8,7 +8,7 @@ mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" x:Class="Decho.Views.MainWindow" x:DataType="vm:MainWindowViewModel" - Icon="/Assets/avalonia-logo.ico" + Icon="/Assets/Decho.ico" Width="1100" Height="600" Title="Decho"> diff --git a/src/Decho/Views/ProfileWindow.axaml b/src/Decho/Views/ProfileWindow.axaml index f743584..14ac1d5 100644 --- a/src/Decho/Views/ProfileWindow.axaml +++ b/src/Decho/Views/ProfileWindow.axaml @@ -10,7 +10,7 @@ MinHeight="280" SizeToContent="Height" WindowStartupLocation="CenterOwner" - Icon="/Assets/avalonia-logo.ico"> + Icon="/Assets/Decho.ico">