Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Commit

Permalink
fix: windows installer desktop icon
Browse files Browse the repository at this point in the history
修復 Windows 安裝程式勾選「建立桌面圖示」後不會有任何效果。
  • Loading branch information
SiongSng committed Dec 16, 2022
1 parent 41773bb commit 92f9007
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 208 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ on:
- develop
paths:
- "lib/**"
- "pubspec.lo ck"
- "plugin/**"
- "packageing/**"
- "windows/**"
- "linux/**"
- "macos/**"
- "assets/**"
- "pubspec.lock"
- ".github/workflows/Build.yml"

workflow_dispatch:
Expand Down
6 changes: 1 addition & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"cmake.configureOnOpen": false,
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools",
"C_Cpp.errorSquiggles": "Disabled",
"C_Cpp.errorSquiggles": "disabled",
"cSpell.language": "en,en-US",
"yaml.schemas": {
"https://json.schemastore.org/github-workflow.json": "file:///run/media/siongsng/Data/coding/Flutter/RPMLauncher/.github/workflows/build/linux.yml"
},
"cSpell.words": [
"murmurhash"
]
Expand Down
26 changes: 0 additions & 26 deletions logs/2022-11-30-23-log.txt

This file was deleted.

175 changes: 0 additions & 175 deletions logs/2022-12-11-13-log.txt

This file was deleted.

4 changes: 3 additions & 1 deletion packageing/exe/rpmlauncher.iss
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,15 @@ Name: "norwegian"; MessagesFile: "compiler:Languages\Norwegian.isl"
Name: "danish"; MessagesFile: "compiler:Languages\Danish.isl"
Name: "ukrainian"; MessagesFile: "compiler:Languages\Ukrainian.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}";
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}";

[Files]
Source: "{#MyAppPackagingDir}\*"; DestDir: "{app}"; Flags: recursesubdirs createallsubdirs

[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

[InstallDelete]
Type: files; Name: "{app}\*.exe"
Expand Down

0 comments on commit 92f9007

Please sign in to comment.