rdesktop2
bunsenstraat 1 year ago
parent cc3d9ea5fb
commit e5ec564b1e
  1. 2
      apps/remix-ide/src/app/files/dgitProvider.js
  2. 7
      apps/remixdesktop/src/menus/file.ts
  3. 2
      apps/remixdesktop/src/tools/git.ts

@ -240,7 +240,7 @@ class DGitProvider extends Plugin {
async branches(config) { async branches(config) {
if (isElectron()) { if (isElectron()) {
return await this.call('isogit', 'branches', config) return await this.call('isogit', 'branches')
} }
try { try {

@ -36,6 +36,13 @@ export default (
role: 'clearRecentDocuments' role: 'clearRecentDocuments'
} }
] ]
},
{
role: 'close',
accelerator: commandKeys['window:close']
},
{
role: 'quit',
} }
] ]
}; };

@ -14,7 +14,7 @@ const statusTransFormMatrix = (status: string) => {
case 'MM': case 'MM':
return [1, 2, 3] return [1, 2, 3]
case ' M': case ' M':
return [1, 2, 1] return [1, 2, 0]
case ' D': case ' D':
return [0, 2, 0] return [0, 2, 0]
case 'D ': case 'D ':

Loading…
Cancel
Save