Skip to content

Commit 4563a95

Browse files
committed
whoops
1 parent 54b1495 commit 4563a95

5 files changed

Lines changed: 20 additions & 6 deletions

File tree

atlas_gui_flutter/lib/main.dart

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ Future<void> _seedInstalledDataDirectory(Directory atlasDataDir) async {
122122
['static', 'hotfixes', 'DefaultGame Data'],
123123
['static', 'profiles'],
124124
['static', 'ClientSettings', 'config'],
125-
['static', 'athenaprofiles', 'Profile Presets'],
126125
['public', 'gameconfig'],
127126
['public', 'images'],
128127
['public', 'items'],
@@ -157,6 +156,21 @@ Future<void> _seedInstalledDataDirectory(Directory atlasDataDir) async {
157156
joinPath([atlasDataDir.path, 'static', 'athenaprofiles', 'presets.json']),
158157
),
159158
);
159+
// Built-in profile presets are shipped templates, so refresh them from the
160+
// current install while leaving extra custom preset folders in AppData.
161+
await _copyDirectoryContentsReplacingFiles(
162+
Directory(
163+
joinPath([installRoot, 'static', 'athenaprofiles', 'Profile Presets']),
164+
),
165+
Directory(
166+
joinPath([
167+
atlasDataDir.path,
168+
'static',
169+
'athenaprofiles',
170+
'Profile Presets',
171+
]),
172+
),
173+
);
160174

161175
for (final name in ['curves.defaults.json', 'datatables.defaults.json']) {
162176
await _copyFileReplacingIfDifferent(

atlas_gui_flutter/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1111
# build by specifying --build-name and --build-number, respectively.
1212
# In Windows, build-name is used as the major, minor, and patch parts
1313
# of the product and file versions while build-number is used as the build suffix.
14-
version: 1.6.6
14+
version: 1.6.7
1515

1616
environment:
1717
sdk: ^3.10.8

gui.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ BackgroundParticlesEnabled=true
1313
BackgroundParticlesOpacity=1.0
1414
DialogBlurEnabled=true
1515
StartupAnimationEnabled=true
16-
LastShownUpdateNotesVersion=1.6.5
16+
LastShownUpdateNotesVersion=1.6.6

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "atlas",
3-
"version": "1.6.6",
3+
"version": "1.6.7",
44
"module": "src/index.ts",
55
"type": "module",
66
"scripts": {

0 commit comments

Comments
 (0)