You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Restore backward-compatible bundle-ID hash: name only included when
--name is explicitly passed, so existing apps are not re-identified
- Make camera/microphone entitlements opt-in via --camera/--microphone
flags instead of being granted to all apps by default
- Use fsExtra.move (atomic rename) instead of copy+remove in --install
- Show popup window hostname instead of full URL as window title
- Move resolvedName calculation after all name-resolution branches so
GitHub-Actions fallback is reflected in the identifier
- Refactor build_window to accept WindowBuildOptions struct (7 params -> 4)
- Update docs (EN + CN) with macOS media permissions section
Copy file name to clipboardExpand all lines: bin/options/index.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -64,8 +64,6 @@ export default async function handleOptions(
64
64
name=generateLinuxPackageName(name);
65
65
}
66
66
67
-
constresolvedName=name||'pake-app';
68
-
69
67
if(name&&!isValidName(name,platform)){
70
68
constLINUX_NAME_ERROR=`✕ Name should only include lowercase letters, numbers, and dashes (not leading dashes). Examples: com-123-xxx, 123pan, pan123, weread, we-read, 123.`;
71
69
constDEFAULT_NAME_ERROR=`✕ Name should only include letters, numbers, dashes, and spaces (not leading dashes and spaces). Examples: 123pan, 123Pan, Pan123, weread, WeRead, WERead, we-read, We Read, 123.`;
@@ -80,10 +78,12 @@ export default async function handleOptions(
logger.success(`✔ ${appBundleName.replace(/\.app$/,'')} installed to /Applications`);
987
-
logger.success('✔ Local app bundle removed');
988
1009
}
989
1010
catch(error){
990
1011
logger.error(`✕ Failed to install ${appName}: ${error}`);
991
-
logger.info(` The app bundle is still available at: ${appBundlePath}`);
1012
+
logger.info(` App bundle still available at: ${appBundlePath}`);
992
1013
}
993
1014
}
994
1015
getFileType(target){
@@ -2009,7 +2030,6 @@ async function handleOptions(options, url) {
2009
2030
if(name&&platform==='linux'){
2010
2031
name=generateLinuxPackageName(name);
2011
2032
}
2012
-
constresolvedName=name||'pake-app';
2013
2033
if(name&&!isValidName(name,platform)){
2014
2034
constLINUX_NAME_ERROR=`✕ Name should only include lowercase letters, numbers, and dashes (not leading dashes). Examples: com-123-xxx, 123pan, pan123, weread, we-read, 123.`;
2015
2035
constDEFAULT_NAME_ERROR=`✕ Name should only include letters, numbers, dashes, and spaces (not leading dashes and spaces). Examples: 123pan, 123Pan, Pan123, weread, WeRead, WERead, we-read, We Read, 123.`;
@@ -2023,10 +2043,11 @@ async function handleOptions(options, url) {
By default, apps built with Pake do not request camera or microphone access. For sites that require these (for example, video conferencing or voice input), pass the relevant flags at build time:
0 commit comments