diff --git a/.gitignore b/.gitignore index 7925cae5..af4f217b 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ dist-ssr .env /.mcp.json /nul +/.vscode/ diff --git a/.vscode/extensions.json b/.vscode/extensions.json deleted file mode 100644 index 034db5d6..00000000 --- a/.vscode/extensions.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "recommendations": [ - "dbaeumer.vscode-eslint", - "esbenp.prettier-vscode", - "editorconfig.editorconfig" - ] -} diff --git a/build/notarize.cjs b/build/notarize.cjs index 9dad9c4b..60067d22 100644 --- a/build/notarize.cjs +++ b/build/notarize.cjs @@ -3,32 +3,20 @@ const { notarize } = require('@electron/notarize'); exports.default = async function notarizing(context) { const { electronPlatformName, appOutDir } = context; - // Only notarize macOS DMG builds (not MAS builds - those go through App Store Connect) if (electronPlatformName !== 'darwin') { - console.log(`Skipping notarization: platform is ${electronPlatformName}, not darwin`); return; } - // Skip notarization if credentials are not provided const appleId = process.env.APPLE_ID; const appleIdPassword = process.env.APPLE_ID_PASSWORD; const teamId = process.env.APPLE_TEAM_ID; if (!appleId || !appleIdPassword || !teamId) { - console.log('Skipping notarization: Apple ID credentials not provided'); - console.log(` APPLE_ID: ${appleId ? 'SET' : 'NOT SET'}`); - console.log(` APPLE_ID_PASSWORD: ${appleIdPassword ? 'SET' : 'NOT SET'}`); - console.log(` APPLE_TEAM_ID: ${teamId ? 'SET' : 'NOT SET'}`); return; } const appName = context.packager.appInfo.productFilename; - console.log(`Starting notarization for ${appName}...`); - console.log(` App Bundle ID: com.karmaa.termix`); - console.log(` App Path: ${appOutDir}/${appName}.app`); - console.log(` Team ID: ${teamId}`); - try { await notarize({ appBundleId: 'com.karmaa.termix', @@ -37,11 +25,7 @@ exports.default = async function notarizing(context) { appleIdPassword: appleIdPassword, teamId: teamId, }); - - console.log(`✅ Successfully notarized ${appName}`); } catch (error) { - console.error('❌ Notarization failed:', error); - console.error('Build will continue, but app may show Gatekeeper warnings'); - // Don't fail the build if notarization fails + console.error('Notarization failed:', error); } };