Commit fbb3abec authored by baiyuze's avatar baiyuze

feat:去除用户目录,以及修改项目目录名为Project

parent a8ba53db
...@@ -4,7 +4,7 @@ module.exports = { ...@@ -4,7 +4,7 @@ module.exports = {
lowcodeEnv: () => { lowcodeEnv: () => {
return return
}, },
name: 'LowcodeIDE', name: 'Project',
ideWinConfig: { ideWinConfig: {
url: 'http://localhost:7012/paas/#/workbench' url: 'http://localhost:7012/paas/#/workbench'
}, },
......
This diff is collapsed.
This diff is collapsed.
...@@ -56,9 +56,10 @@ async function createDir(dir) { ...@@ -56,9 +56,10 @@ async function createDir(dir) {
function getUserDir() { function getUserDir() {
const ctx = getContext() const ctx = getContext()
const ideName = ctx.config.name const ideName = ctx.config.name
const uuid = ctx.user.uuid // const uuid = ctx.user.uuid
// 去除用户目录这层
const projectSpace = getProjectSpace() const projectSpace = getProjectSpace()
return path.join(projectSpace, ideName, uuid) return path.join(projectSpace, ideName)
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment