aboutsummaryrefslogtreecommitdiff
path: root/alacritty/windows/windows.rc
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2021-07-18 19:29:38 +0000
committerGitHub <noreply@github.com>2021-07-18 19:29:38 +0000
commit7913aa557618ca0df8d5a144f9425cb9b357c815 (patch)
tree2e1cd0fc11804b94b7ec282993af3b8f60e6db00 /alacritty/windows/windows.rc
parent150b0bcb73571a254cf70e73659cc219c1f631db (diff)
downloadr-alacritty-7913aa557618ca0df8d5a144f9425cb9b357c815.tar.gz
r-alacritty-7913aa557618ca0df8d5a144f9425cb9b357c815.tar.bz2
r-alacritty-7913aa557618ca0df8d5a144f9425cb9b357c815.zip
Invert windows asset symlinks
This commit swaps source and target for the windows asset symlinks, since creation of a symlink is not possible on Windows systems without administrator permissions. By making the files inside the source folder the source instead of the destination, a build is still possible without requiring elevated privileges. Fixes #5338.
Diffstat (limited to 'alacritty/windows/windows.rc')
-rw-r--r--alacritty/windows/windows.rc9
1 files changed, 9 insertions, 0 deletions
diff --git a/alacritty/windows/windows.rc b/alacritty/windows/windows.rc
new file mode 100644
index 00000000..b265d4bc
--- /dev/null
+++ b/alacritty/windows/windows.rc
@@ -0,0 +1,9 @@
+#define IDI_ICON 0x101
+
+IDI_ICON ICON "alacritty.ico"
+
+#define RT_MANIFEST 24
+#define APP_MANIFEST 1
+
+APP_MANIFEST RT_MANIFEST alacritty.manifest
+