Skip to content

Commit

Permalink
Merge branch 'master' into fortuna-linux
Browse files Browse the repository at this point in the history
  • Loading branch information
fortuna committed Apr 10, 2024
2 parents 7767855 + bac3931 commit 0236cd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/electron/electron-builder.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"files": ["build/electron", "www", "resources/tray", "!node_modules/electron"],
"files": ["build/electron", "www", "client/resources/tray", "!node_modules/electron"],
"asarUnpack": ["output", "tools"],
"artifactName": "Outline-Client.${ext}",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion src/electron/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ function updateTray(status: TunnelStatus) {
}

function createTrayIconImage(imageName: string) {
const image = nativeImage.createFromPath(path.join(app.getAppPath(), 'resources', 'tray', imageName));
const image = nativeImage.createFromPath(path.join(app.getAppPath(), 'client', 'resources', 'tray', imageName));
if (image.isEmpty()) {
throw new Error(`cannot find ${imageName} tray icon image`);
}
Expand Down

0 comments on commit 0236cd4

Please sign in to comment.