diff --git a/apps/remixdesktop/src/main.ts b/apps/remixdesktop/src/main.ts index 367b7873fa..ba222820bd 100644 --- a/apps/remixdesktop/src/main.ts +++ b/apps/remixdesktop/src/main.ts @@ -36,8 +36,8 @@ const windowSet = new Set([]); export const createWindow = async (dir?: string): Promise => { // Create the browser window. const mainWindow = new BrowserWindow({ - width: 1000,// (isE2E ? 3840 : screen.getPrimaryDisplay().size.width * 0.8), - height: 1000, //(isE2E ? 2160 : screen.getPrimaryDisplay().size.height * 0.8), + width: 1280,// (isE2E ? 3840 : screen.getPrimaryDisplay().size.width * 0.8), + height: 720, //(isE2E ? 2160 : screen.getPrimaryDisplay().size.height * 0.8), frame: true, webPreferences: { preload: path.join(__dirname, 'preload.js') diff --git a/apps/remixdesktop/src/tools/git.ts b/apps/remixdesktop/src/tools/git.ts index f32a6426c9..249ef321a5 100644 --- a/apps/remixdesktop/src/tools/git.ts +++ b/apps/remixdesktop/src/tools/git.ts @@ -107,7 +107,7 @@ export const gitProxy = { }, async init(path: string) { - await execAsync(`git init`, { cwd: path }); + await execAsync(`git init --initial-branch=main`, { cwd: path }); }, async updateSubmodules(path: string) {