Skip to content

Commit

Permalink
v0.0.48
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Lukasczyk committed Oct 9, 2024
1 parent 52009cb commit 4b6ccc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ARCitect",
"version": "v0.0.47",
"version": "v0.0.48",
"author": "nfdi4plants.org",
"description": "Tool to edit Annotated Research Contexts (ARCs).",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const initConfig = async ()=>{
fs.mkdirSync(userDataPath);

for(let file of ['ARCitect.json','DataHubs.json']){
const sourceFile = 'resources/'+file;
const sourceFile = (import.meta.env.DEV ? 'resources' : process.resourcesPath)+'/'+file;
const destinationFile = userDataPath+'/'+file;
if (!fs.existsSync(destinationFile))
fs.copyFileSync(sourceFile, destinationFile);
Expand Down

0 comments on commit 4b6ccc6

Please sign in to comment.