Skip to content

Commit

Permalink
icon, app name 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
young-do committed Aug 20, 2024
1 parent 9851ea1 commit 23cb80a
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 9 deletions.
15 changes: 8 additions & 7 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ console.log('@@api key', (process.env.APPLE_API_KEY ?? '').length);
const config: ForgeConfig = {
packagerConfig: {
asar: true,
osxSign: {},
osxNotarize: {
// @see: https://www.electronforge.io/guides/code-signing/code-signing-macos#option-2-using-an-app-store-connect-api-key
appleApiKey: process.env.APPLE_API_KEY as string,
appleApiKeyId: process.env.APPLE_API_KEY_ID as string,
appleApiIssuer: process.env.APPLE_API_ISSUER as string,
},
icon: 'src/shared/assets/icons/icon',
// osxSign: {},
// osxNotarize: {
// // @see: https://www.electronforge.io/guides/code-signing/code-signing-macos#option-2-using-an-app-store-connect-api-key
// appleApiKey: process.env.APPLE_API_KEY as string,
// appleApiKeyId: process.env.APPLE_API_KEY_ID as string,
// appleApiIssuer: process.env.APPLE_API_ISSUER as string,
// },
},
rebuildConfig: {},
makers: [new MakerSquirrel({}), new MakerZIP({}, ['darwin']), new MakerRpm({}), new MakerDeb({})],
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "my-app",
"productName": "my-app",
"name": "pomonyang-fe",
"productName": "mohanyang",
"version": "1.0.0",
"description": "My Electron application description",
"main": ".vite/build/main.js",
Expand Down
1 change: 1 addition & 0 deletions src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const createWindow = () => {
preload: path.join(__dirname, 'preload.js'),
webSecurity: false,
},
icon: path.join(__dirname, '../shared/assets/icons/64x64.png'),
});

// and load the index.html of the app.
Expand Down
Binary file added src/shared/assets/icons/64x64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/shared/assets/icons/icon.icns
Binary file not shown.
Binary file added src/shared/assets/icons/icon.ico
Binary file not shown.
Binary file added src/shared/assets/icons/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/shared/assets/icons/[email protected]
Binary file not shown.
Binary file added src/shared/assets/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 23cb80a

Please sign in to comment.