|
@@ -11,6 +11,9 @@ const {
|
|
|
merge
|
|
|
} = require('lodash')
|
|
|
const toml = require('@tauri-apps/toml')
|
|
|
+const {
|
|
|
+ installDependencies
|
|
|
+} = require('../dist/api/dependency-manager')
|
|
|
|
|
|
/**
|
|
|
* @type {object}
|
|
@@ -116,7 +119,7 @@ if (argv.ci) {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-function runInit(config = {}) {
|
|
|
+async function runInit(config = {}) {
|
|
|
const {
|
|
|
appName,
|
|
|
...configOptions
|
|
@@ -153,4 +156,6 @@ function runInit(config = {}) {
|
|
|
}
|
|
|
writeFileSync(manifestPath, toml.stringify(cargoManifest))
|
|
|
}
|
|
|
+
|
|
|
+ await installDependencies()
|
|
|
}
|