Skip to content

Commit e0788c8

Browse files
committed
Bump Npp.DotNet.Plugin to 1.0.0-alpha.4
1 parent 578923f commit e0788c8

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
xds:
1616
runs-on: windows-latest
1717
steps:
18-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1919
- name: Build ${{ env.PLUGIN_NAME }}.win32
2020
run: |
2121
if ( $(Get-FileHash -A SHA512 .\xds-260-win32.zip).Hash -ne $(Get-Content .\xds-260-win32.zip.sha512) ) { exit 1 }
@@ -56,7 +56,7 @@ jobs:
5656
DOTNET_CLI_TELEMETRY_OPTOUT: true
5757

5858
steps:
59-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
59+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6060
- uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
6161
with:
6262
dotnet-version: 8.0.x
@@ -100,7 +100,7 @@ jobs:
100100
- publish_aot
101101
steps:
102102
- name: Fetch release artifacts
103-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
103+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
104104
with:
105105
path: bin
106106
merge-multiple: true

WebEdit/Main.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public void OnSetInfo()
7171
{
7272
int i = 0;
7373
var npp = new NotepadPPGateway();
74-
iniDirectory = Path.Combine(npp.GetPluginConfigPath(), PluginName);
74+
iniDirectory = Path.Combine(npp.GetConfigDirectory(), PluginName);
7575
_ = Directory.CreateDirectory(iniDirectory);
7676
iniFilePath = Path.Combine(iniDirectory, IniFileName);
7777
try
@@ -325,7 +325,7 @@ private static void LoadToolbarIcon(LoadImageType imgType, string iconFile, out
325325
/// </summary>
326326
private static string GetIconPath(string icon)
327327
{
328-
string path = Path.Combine(PluginData.Notepad.GetPluginConfigPath(), PluginName, icon);
328+
string path = Path.Combine(PluginData.Notepad.GetConfigDirectory(), PluginName, icon);
329329
if (!File.Exists(path))
330330
path = Path.Combine(PluginData.Notepad.GetPluginsHomePath(), PluginName, "Config", icon);
331331
return path;

WebEdit/WebEdit.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@
2525
<DebugSymbols>false</DebugSymbols>
2626
<SelfContained>true</SelfContained>
2727
<StackTraceSupport>false</StackTraceSupport>
28+
<MetricsSupport>false</MetricsSupport>
29+
<DebuggerSupport>false</DebuggerSupport>
2830
<IlcTrimMetadata>true</IlcTrimMetadata>
31+
<MetadataUpdaterSupport>false</MetadataUpdaterSupport>
2932
<InvariantGlobalization>true</InvariantGlobalization>
3033
<EnableUnsafeUTF7Encoding>false</EnableUnsafeUTF7Encoding>
3134
<IlcGenerateStackTraceData>false</IlcGenerateStackTraceData>
@@ -38,7 +41,7 @@
3841
</PropertyGroup>
3942

4043
<ItemGroup>
41-
<PackageReference Include="Npp.DotNet.Plugin" Version="1.0.0-alpha.2" />
44+
<PackageReference Include="Npp.DotNet.Plugin" Version="1.0.0-alpha.4" />
4245
</ItemGroup>
4346

4447
<ItemGroup>

0 commit comments

Comments
 (0)