Skip to content

Commit c1dfc2a

Browse files
authored
Merge pull request #2 from dealloc/develop
Show names, durability and add "repair" button
2 parents 5545ed2 + 5203d61 commit c1dfc2a

103 files changed

Lines changed: 91668 additions & 82 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ jobs:
1313
with:
1414
channel: 'stable'
1515
- run: flutter config --enable-windows-desktop
16-
- run: flutter build windows
16+
- run: flutter build windows --release
17+
working-directory: ./src/icarus_editor
1718
- uses: actions/upload-artifact@v3
1819
with:
1920
name: icarus_editor_windows
20-
path: build/windows/runner/Release/
21+
path: ./src/icarus_editor/build/windows/runner/Release/
2122
build_linux:
2223
runs-on: ubuntu-latest
2324
steps:
@@ -30,10 +31,11 @@ jobs:
3031
sudo apt-get install -y ninja-build libgtk-3-dev
3132
- run: flutter config --enable-linux-desktop
3233
- run: flutter build linux --release
34+
working-directory: ./src/icarus_editor
3335
- uses: actions/upload-artifact@v3
3436
with:
3537
name: icarus_editor_linux
36-
path: build/linux/x64/release/bundle/
38+
path: ./src/icarus_editor/build/linux/x64/release/bundle/
3739
create_release:
3840
needs: [build_windows, build_linux]
3941
runs-on: ubuntu-latest

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "src/UnrealPakTool"]
2+
path = src/UnrealPakTool
3+
url = https://github.com/allcoolthingsatoneplace/UnrealPakTool.git

lib/widgets/inventory/inventory_overview.dart

Lines changed: 0 additions & 42 deletions
This file was deleted.

scripts/Extract-Packs.ps1

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Add-Type -AssemblyName System.Windows.Forms
2+
$FileBrowser = New-Object System.Windows.Forms.FolderBrowserDialog
3+
$FileBrowser.ShowDialog()
4+
$icarus = $FileBrowser.SelectedPath
5+
$packFile = Join-Path $icarus "Icarus\Content\Data\data.pak"
6+
7+
if (Test-Path -Path $packFile -PathType Leaf) {
8+
..\src\UnrealPakTool\UnrealPak.exe -Filter="*D_ItemsStatic.json" -Extract $packFile ../icarus_editor_core/lib/src/generated
9+
..\src\UnrealPakTool\UnrealPak.exe -Filter="*D_Itemable.json" -Extract $packFile ../icarus_editor_core/lib/src/generated
10+
..\src\UnrealPakTool\UnrealPak.exe -Filter="*D_Durable.json" -Extract $packFile ../icarus_editor_core/lib/src/generated
11+
12+
cd ../src/icarus_editor_core
13+
flutter pub run build_runner build
14+
} else {
15+
Write-Error "Failed to find data.pak file, please select the Icarus root folder"
16+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)