Skip to content

Commit e3a2b09

Browse files
test 16
1 parent c270826 commit e3a2b09

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

.github/workflows/createRelease.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
echo "version=$VERSION" >> $GITHUB_ENV
3030
echo "version=$VERSION" >> $GITHUB_OUTPUT
3131
32-
# - name: Create Git tag
33-
# run: |
34-
# git tag v${{ env.version }}
35-
# git push origin v${{ env.version }}
32+
- name: Create Git tag
33+
run: |
34+
git tag v${{ env.version }}
35+
git push origin v${{ env.version }}
3636
3737
- name: Create GitHub release
3838
id: create-release
@@ -52,7 +52,7 @@ jobs:
5252
strategy:
5353
fail-fast: false
5454
matrix:
55-
os: [macos-latest, ubuntu-latest, windows-latest]
55+
os: [windows-latest, ubuntu-latest, macos-latest]
5656

5757
steps:
5858
- name: Checkout repository

images/icon_dark.icns

23.2 KB
Binary file not shown.
File renamed without changes.

images/icon_dark.png

-1.27 KB
Loading

images/icon_light.png

1.27 KB
Loading

package.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { packager } from "@electron/packager";
77
dir: __dirname,
88
out: "dist",
99
overwrite: true,
10-
icon: "images/icon.png",
11-
ignore: [whitelistToIgnore(["out", "node_modules", "package.json"]), ".map$"],
10+
icon: "images/icon_dark",
11+
ignore: [whitelistToIgnore(["out", "node_modules", "package.json"]), ".map$"]
1212
});
1313
})();
1414

src/constants.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ const imagesDir = path.resolve(__dirname, "images");
99

1010
export function getIconPath(): string {
1111
return nativeTheme.shouldUseDarkColors
12-
? path.resolve(imagesDir, "icon_dark.png")
13-
: path.resolve(imagesDir, "icon_light.png");
12+
? path.resolve(imagesDir, "icon_light.png")
13+
: path.resolve(imagesDir, "icon_dark.png");
1414
}

0 commit comments

Comments
 (0)