Skip to content

Commit

Permalink
Fix: Fix profile config recovery (Snapmaker#1326)
Browse files Browse the repository at this point in the history
* Fix: Fix profile config recovery
  • Loading branch information
bbaa77770 authored Dec 1, 2021
1 parent bd28db8 commit c998d61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/DataStorage.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ class DataStorage {
mkdirp.sync(`${this.configDir}/${PRINTING_CONFIG_SUBCATEGORY}`);

const CURA_ENGINE_CONFIG_LOCAL = '../resources/CuraEngine/Config';
await this.copyDirForInitSlicer(CURA_ENGINE_CONFIG_LOCAL, this.configDir, true, inherit);
this.upgradeConfigFile(this.configDir);
await this.copyDirForInitSlicer(CURA_ENGINE_CONFIG_LOCAL, this.configDir, true, inherit);
await this.copyDirForInitSlicer(CURA_ENGINE_CONFIG_LOCAL, this.defaultConfigDir, true, true);
}

Expand Down

0 comments on commit c998d61

Please sign in to comment.