Skip to content

Commit

Permalink
fix: long package names in windows open with options
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Sep 13, 2024
1 parent 1ab9dfd commit 814372e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src-build/ci-createDistReleaseConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ async function ciCreateDistReleaseConfig() {
configJson.package.version = phoenixVersion;
configJson.package.productName = _getProductName(configJson.package.productName, phoenixStage);
configJson.tauri.bundle.shortDescription = configJson.package.productName;
configJson.tauri.bundle.longDescription = configJson.package.productName;
console.log("Product name is: ", configJson.package.productName);
configJson.tauri.windows[0].title = configJson.package.productName;
if(os.platform() === 'win32'){
Expand Down
4 changes: 2 additions & 2 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@
"icons/icon.ico"
],
"identifier": "io.phcode.dev",
"longDescription": "Phoenix is a modern open-source IDE for the web, built for the browser",
"shortDescription": "Phoenix Code Experimental Build",
"longDescription": "Phoenix Code Experimental Build",
"macOS": {
"entitlements": "../entitlements.plist",
"exceptionDomain": "localhost",
Expand All @@ -196,7 +197,6 @@
"resources": [
"src-node/*"
],
"shortDescription": "Phoenix Code Experimental Build",
"targets": [
"appimage",
"nsis",
Expand Down

0 comments on commit 814372e

Please sign in to comment.