Skip to content

Commit

Permalink
initial commit on ARC creation
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasLukasczyk committed Aug 2, 2024
1 parent 39a4796 commit 6ad77c3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/renderer/src/AppProperties.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const AppProperties: {
force_lfs_update: 0,

showHelp: false,
showTooltips: true
showTooltips: false
});

for(let k in AppProperties.STATES){
Expand Down
8 changes: 8 additions & 0 deletions packages/renderer/src/ArcControlService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,14 @@ const ArcControlService = {
args: ['init','-b','main'],
cwd: path
});
await window.ipc.invoke('GitService.run', {
args: ['add','isa.investigation.xlsx','assays/','studies/','runs/','workflows/'],
cwd: path
});
await window.ipc.invoke('GitService.run', {
args: ['commit','-m','init','--author','"ARCitect <[email protected]>"'],
cwd: path
});
},

openArcInExplorer: async (arc_root: string | null | void) => {
Expand Down

0 comments on commit 6ad77c3

Please sign in to comment.