Skip to content

Commit

Permalink
update to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
ChangSakura committed Jul 17, 2024
1 parent a1d8be3 commit 06492b2
Show file tree
Hide file tree
Showing 45 changed files with 728 additions and 1,699 deletions.
2 changes: 1 addition & 1 deletion AutomaticUpdateVersionControl.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.9.2
4.9.3
4 changes: 0 additions & 4 deletions Ink Canvas/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
<ResourceDictionary.MergedDictionaries>
<ui:ThemeResources RequestedTheme="Light" />
<ui:XamlControlsResources />
<ResourceDictionary Source="Resources/SeewoImageDictionary.xaml" />
<ResourceDictionary Source="Resources/DrawShapeImageDictionary.xaml" />
<ResourceDictionary Source="Resources/BoardDrawShapeImageDictionary.xaml" />
<ResourceDictionary Source="Resources/IconImageDictionary.xaml" />
<ResourceDictionary Source="Resources/Styles/Light.xaml" />
<ResourceDictionary Source="Resources/Styles/Light-Board.xaml" />
<ResourceDictionary Source="Resources/Styles/Light-PopupWindow.xaml" />
Expand Down
4 changes: 2 additions & 2 deletions Ink Canvas/Helpers/AutoUpdateHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public static async Task<string> CheckForUpdates(string proxy = null)
{
string localVersion = Assembly.GetExecutingAssembly().GetName().Version.ToString();
string remoteAddress = proxy;
remoteAddress += "https://raw.githubusercontent.com/ChangSakura/Ink-Canvas/master/AutomaticUpdateVersionControl.txt";
remoteAddress += "https://raw.githubusercontent.com/InkCanvas/Ink-Canvas-Artistry/master/AutomaticUpdateVersionControl.txt";
string remoteVersion = await GetRemoteVersion(remoteAddress);

if (remoteVersion != null)
Expand Down Expand Up @@ -85,7 +85,7 @@ public static async Task<bool> DownloadSetupFileAndSaveStatus(string version, st
return true;
}

string downloadUrl = $"{proxy}https://github.com/ChangSakura/Ink-Canvas/releases/download/v{version}/Ink.Canvas.Artistry.V{version}.Setup.exe";
string downloadUrl = $"{proxy}https://github.com/InkCanvas/Ink-Canvas-Artistry/releases/download/v{version}/Ink.Canvas.Artistry.V{version}.Setup.exe";

SaveDownloadStatus(false);
await DownloadFile(downloadUrl, $"{updatesFolderPath}\\Ink.Canvas.Artistry.V{version}.Setup.exe");
Expand Down
52 changes: 0 additions & 52 deletions Ink Canvas/Helpers/Converters.cs

This file was deleted.

3 changes: 1 addition & 2 deletions Ink Canvas/Helpers/Hotkey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ static IntPtr WndProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bo
{
callback();
}
handled = true;
}
return IntPtr.Zero;
}
Expand All @@ -77,7 +78,6 @@ public static void UnRegist(IntPtr hWnd, HotKeyCallBackHanlder callBack)
}
}


const int WM_HOTKEY = 0x312;
static int keyid = 10;
static Dictionary<int, HotKeyCallBackHanlder> keymap = new Dictionary<int, HotKeyCallBackHanlder>();
Expand All @@ -92,5 +92,4 @@ enum HotkeyModifiers
MOD_SHIFT = 0x4,
MOD_WIN = 0x8
}

}
7 changes: 1 addition & 6 deletions Ink Canvas/Ink Canvas.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<Platforms>AnyCPU;x86;x64;ARM64</Platforms>
<ApplicationManifest>app.manifest</ApplicationManifest>
<PlatformTarget>AnyCPU</PlatformTarget>
<UserSecretsId>f49ced3b-26c5-4244-91af-88faafb1a4e5</UserSecretsId>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<Prefer32Bit>True</Prefer32Bit>
Expand Down Expand Up @@ -144,12 +145,6 @@
<Resource Include="Resources\Icons-png\checked-white.png" />
<Resource Include="Resources\Icons-png\Desmos.png" />
<Resource Include="Resources\Icons-png\EasiCamera.png" />
<Resource Include="Resources\Icons-png\ic_fluent_arrow_clockwise_24_regular.png" />
<Resource Include="Resources\Icons-png\ic_fluent_calendar_sync_24_regular.png" />
<Resource Include="Resources\Icons-png\ic_fluent_clock_24_regular.png" />
<Resource Include="Resources\Icons-png\ic_fluent_control_button_24_regular.png" />
<Resource Include="Resources\Icons-png\ic_fluent_power_24_regular.png" />
<Resource Include="Resources\Icons-png\ic_fluent_scales_24_regular.png" />
<Resource Include="Resources\Icons-png\penUpright.png" />
</ItemGroup>
<ItemGroup>
Expand Down
5 changes: 5 additions & 0 deletions Ink Canvas/Ink Canvas.csproj.user
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Page Update="Resources\Styles\Dark-PopupWindow.xaml">
<SubType>Designer</SubType>
Expand Down
Loading

0 comments on commit 06492b2

Please sign in to comment.