diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 64fe4bfb..db0df2cf 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -19,8 +19,8 @@ jobs:
run: dotnet restore
- name: Download Dalamud
run: |
- Invoke-WebRequest -Uri https://goats.dev/ffxiv/tools/launcher/addons/Hooks/latest.zip -OutFile latest.zip
- Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\"
+ Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/latest.zip -OutFile latest.zip
+ Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev\"
- name: Build
run: |
dotnet build --no-restore --configuration Release --nologo
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 22be9eaa..106a69af 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -18,8 +18,8 @@ jobs:
run: dotnet restore
- name: Download Dalamud
run: |
- Invoke-WebRequest -Uri https://goats.dev/ffxiv/tools/launcher/addons/Hooks/latest.zip -OutFile latest.zip
- Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\"
+ Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/latest.zip -OutFile latest.zip
+ Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev"
- name: Build
run: |
$ver = '${{ github.ref }}' -replace 'refs/tags/',''
@@ -54,7 +54,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
+ upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./Penumbra.zip
asset_name: Penumbra.zip
asset_content_type: application/zip
\ No newline at end of file
diff --git a/Penumbra/Penumbra.csproj b/Penumbra/Penumbra.csproj
index df3b4493..d0622987 100644
--- a/Penumbra/Penumbra.csproj
+++ b/Penumbra/Penumbra.csproj
@@ -30,25 +30,25 @@
$(DALAMUD_ROOT)\Dalamud.dll
..\libs\Dalamud.dll
- $(AppData)\XIVLauncher\addon\Hooks\Dalamud.dll
+ $(AppData)\XIVLauncher\addon\Hooks\dev\Dalamud.dll
False
$(DALAMUD_ROOT)\ImGui.NET.dll
..\libs\ImGui.NET.dll
- $(AppData)\XIVLauncher\addon\Hooks\ImGui.NET.dll
+ $(AppData)\XIVLauncher\addon\Hooks\dev\ImGui.NET.dll
False
$(DALAMUD_ROOT)\ImGuiScene.dll
..\libs\ImGuiScene.dll
- $(AppData)\XIVLauncher\addon\Hooks\ImGuiScene.dll
+ $(AppData)\XIVLauncher\addon\Hooks\dev\ImGuiScene.dll
False
$(DALAMUD_ROOT)\Lumina.dll
..\libs\Lumina.dll
- $(AppData)\XIVLauncher\addon\Hooks\Lumina.dll
+ $(AppData)\XIVLauncher\addon\Hooks\dev\Lumina.dll
False
diff --git a/Penumbra/UI/LaunchButton.cs b/Penumbra/UI/LaunchButton.cs
index 6699e3f2..55883cce 100644
--- a/Penumbra/UI/LaunchButton.cs
+++ b/Penumbra/UI/LaunchButton.cs
@@ -42,8 +42,9 @@ namespace Penumbra.UI
return;
}
- var ss = ImGui.GetIO().DisplaySize;
-
+ var ss = ImGui.GetMainViewport().Size + ImGui.GetMainViewport().Pos;
+ ImGui.SetNextWindowViewport(ImGui.GetMainViewport().ID);
+
ImGui.SetNextWindowPos( ss - WindowPosOffset, ImGuiCond.Always );
if( !ImGui.Begin( MenuButtonsName, ButtonFlags ) )
@@ -60,4 +61,4 @@ namespace Penumbra.UI
}
}
}
-}
\ No newline at end of file
+}