mirror of
https://github.com/xodio/xod.git
synced 2026-03-20 07:36:55 +01:00
tweak(xod-client-electron): use getLocalPath instead of hardcoding ‘@/patch-name’
This commit is contained in:
@@ -160,7 +160,7 @@ const catchInvalidWorkspace = R.curry(
|
||||
|
||||
// :: String -> Project
|
||||
const createEmptyProject = projectName => R.compose(
|
||||
XP.assocPatch('@/main', XP.createPatch()), // TODO: Get rid of "@" after fix xod-project/setPatchPath
|
||||
XP.assocPatch(XP.getLocalPath('main'), XP.createPatch()),
|
||||
XP.setProjectName(projectName),
|
||||
XP.createProject
|
||||
)();
|
||||
|
||||
Reference in New Issue
Block a user