diff --git a/installer/Shortcut.cs b/installer/Shortcut.cs new file mode 100644 index 0000000..4e791c8 --- /dev/null +++ b/installer/Shortcut.cs @@ -0,0 +1,110 @@ +using System.IO; +using System.Runtime.InteropServices; +using System.Runtime.InteropServices.ComTypes; +using System.Text; + +namespace GitManagerSetup; + +/// +/// Verknüpfungen (.lnk) über die Shell-Schnittstellen – inklusive AppUserModelID, damit +/// Taskleiste und Windows-Benachrichtigungen dem Git Manager wie bisher zuordnen (wie beim alten NSIS-Setup). +/// +public static class Shortcut +{ + public static void Create(string link, string target, string description, string appUserModelId) + { + Directory.CreateDirectory(Path.GetDirectoryName(link)!); + var shellLink = (IShellLinkW)new CShellLink(); + try + { + shellLink.SetPath(target); + shellLink.SetWorkingDirectory(Path.GetDirectoryName(target)!); + shellLink.SetIconLocation(target, 0); + shellLink.SetDescription(description); + + var store = (IPropertyStore)shellLink; + var key = new PropertyKey(new Guid("9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3"), 5); // PKEY_AppUserModel_ID + var value = new PropVariant { vt = 31 /* VT_LPWSTR */, p = Marshal.StringToCoTaskMemUni(appUserModelId) }; + try + { + store.SetValue(ref key, ref value); + store.Commit(); + } + finally { Marshal.FreeCoTaskMem(value.p); } + + ((IPersistFile)shellLink).Save(link, true); + } + finally { Marshal.ReleaseComObject(shellLink); } + } + + /// Ziel einer vorhandenen Verknüpfung, oder null. + public static string? Target(string link) + { + if (!File.Exists(link)) return null; + var shellLink = (IShellLinkW)new CShellLink(); + try + { + ((IPersistFile)shellLink).Load(link, 0); + var sb = new StringBuilder(1024); + shellLink.GetPath(sb, sb.Capacity, IntPtr.Zero, 0); + return sb.ToString(); + } + catch { return null; } + finally { Marshal.ReleaseComObject(shellLink); } + } + + // ---------- COM ---------- + + [ComImport, Guid("00021401-0000-0000-C000-000000000046")] + private class CShellLink { } + + [ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("000214F9-0000-0000-C000-000000000046")] + private interface IShellLinkW + { + void GetPath([Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszFile, int cchMaxPath, IntPtr pfd, uint fFlags); + void GetIDList(out IntPtr ppidl); + void SetIDList(IntPtr pidl); + void GetDescription([Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszName, int cchMaxName); + void SetDescription([MarshalAs(UnmanagedType.LPWStr)] string pszName); + void GetWorkingDirectory([Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszDir, int cchMaxPath); + void SetWorkingDirectory([MarshalAs(UnmanagedType.LPWStr)] string pszDir); + void GetArguments([Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszArgs, int cchMaxPath); + void SetArguments([MarshalAs(UnmanagedType.LPWStr)] string pszArgs); + void GetHotkey(out short pwHotkey); + void SetHotkey(short wHotkey); + void GetShowCmd(out int piShowCmd); + void SetShowCmd(int iShowCmd); + void GetIconLocation([Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszIconPath, int cchIconPath, out int piIcon); + void SetIconLocation([MarshalAs(UnmanagedType.LPWStr)] string pszIconPath, int iIcon); + void SetRelativePath([MarshalAs(UnmanagedType.LPWStr)] string pszPathRel, uint dwReserved); + void Resolve(IntPtr hwnd, uint fFlags); + void SetPath([MarshalAs(UnmanagedType.LPWStr)] string pszFile); + } + + [ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("886D8EEB-8CF2-4446-8D02-CDBA1DBDCF99")] + private interface IPropertyStore + { + void GetCount(out uint cProps); + void GetAt(uint iProp, out PropertyKey pkey); + void GetValue(ref PropertyKey key, out PropVariant pv); + void SetValue(ref PropertyKey key, ref PropVariant pv); + void Commit(); + } + + [StructLayout(LayoutKind.Sequential, Pack = 4)] + private struct PropertyKey(Guid fmtid, uint pid) + { + public Guid fmtid = fmtid; + public uint pid = pid; + } + + // PROPVARIANT: 16 Byte (32 Bit) bzw. 24 Byte (64 Bit) + [StructLayout(LayoutKind.Sequential)] + private struct PropVariant + { + public ushort vt; + public ushort r1, r2, r3; + public IntPtr p; + public IntPtr p2; + } +} diff --git a/installer/Themes/Colors.Dark.xaml b/installer/Themes/Colors.Dark.xaml new file mode 100644 index 0000000..f6250a8 --- /dev/null +++ b/installer/Themes/Colors.Dark.xaml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + #000000 + diff --git a/installer/Themes/Colors.Light.xaml b/installer/Themes/Colors.Light.xaml new file mode 100644 index 0000000..e311b00 --- /dev/null +++ b/installer/Themes/Colors.Light.xaml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + #000000 + diff --git a/installer/Themes/Controls.xaml b/installer/Themes/Controls.xaml new file mode 100644 index 0000000..9d6865a --- /dev/null +++ b/installer/Themes/Controls.xaml @@ -0,0 +1,651 @@ + + + + Segoe UI Variable Text, Segoe UI + Segoe UI Variable Display, Segoe UI + Segoe Fluent Icons, Segoe MDL2 Assets + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/node_modules/.bin/asar b/node_modules/.bin/asar new file mode 100644 index 0000000..8178288 --- /dev/null +++ b/node_modules/.bin/asar @@ -0,0 +1,16 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../@electron/asar/bin/asar.js" "$@" +else + exec node "$basedir/../@electron/asar/bin/asar.js" "$@" +fi diff --git a/node_modules/.bin/asar.cmd b/node_modules/.bin/asar.cmd new file mode 100644 index 0000000..c928d10 --- /dev/null +++ b/node_modules/.bin/asar.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\@electron\asar\bin\asar.js" %* diff --git a/node_modules/.bin/asar.ps1 b/node_modules/.bin/asar.ps1 new file mode 100644 index 0000000..deed456 --- /dev/null +++ b/node_modules/.bin/asar.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../@electron/asar/bin/asar.js" $args + } else { + & "$basedir/node$exe" "$basedir/../@electron/asar/bin/asar.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../@electron/asar/bin/asar.js" $args + } else { + & "node$exe" "$basedir/../@electron/asar/bin/asar.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/crc32 b/node_modules/.bin/crc32 new file mode 100644 index 0000000..b8e4f8e --- /dev/null +++ b/node_modules/.bin/crc32 @@ -0,0 +1,16 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../crc-32/bin/crc32.njs" "$@" +else + exec node "$basedir/../crc-32/bin/crc32.njs" "$@" +fi diff --git a/node_modules/.bin/crc32.cmd b/node_modules/.bin/crc32.cmd new file mode 100644 index 0000000..1d7a315 --- /dev/null +++ b/node_modules/.bin/crc32.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\crc-32\bin\crc32.njs" %* diff --git a/node_modules/.bin/crc32.ps1 b/node_modules/.bin/crc32.ps1 new file mode 100644 index 0000000..c286187 --- /dev/null +++ b/node_modules/.bin/crc32.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../crc-32/bin/crc32.njs" $args + } else { + & "$basedir/node$exe" "$basedir/../crc-32/bin/crc32.njs" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../crc-32/bin/crc32.njs" $args + } else { + & "node$exe" "$basedir/../crc-32/bin/crc32.njs" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/ejs b/node_modules/.bin/ejs new file mode 100644 index 0000000..ec3bd4c --- /dev/null +++ b/node_modules/.bin/ejs @@ -0,0 +1,16 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../ejs/bin/cli.js" "$@" +else + exec node "$basedir/../ejs/bin/cli.js" "$@" +fi diff --git a/node_modules/.bin/ejs.cmd b/node_modules/.bin/ejs.cmd new file mode 100644 index 0000000..32cac31 --- /dev/null +++ b/node_modules/.bin/ejs.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\ejs\bin\cli.js" %* diff --git a/node_modules/.bin/ejs.ps1 b/node_modules/.bin/ejs.ps1 new file mode 100644 index 0000000..f31305e --- /dev/null +++ b/node_modules/.bin/ejs.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../ejs/bin/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../ejs/bin/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../ejs/bin/cli.js" $args + } else { + & "node$exe" "$basedir/../ejs/bin/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/electron b/node_modules/.bin/electron new file mode 100644 index 0000000..9322e99 --- /dev/null +++ b/node_modules/.bin/electron @@ -0,0 +1,16 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../electron/cli.js" "$@" +else + exec node "$basedir/../electron/cli.js" "$@" +fi diff --git a/node_modules/.bin/electron-builder b/node_modules/.bin/electron-builder new file mode 100644 index 0000000..1566e82 --- /dev/null +++ b/node_modules/.bin/electron-builder @@ -0,0 +1,16 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../electron-builder/cli.js" "$@" +else + exec node "$basedir/../electron-builder/cli.js" "$@" +fi diff --git a/node_modules/.bin/electron-builder.cmd b/node_modules/.bin/electron-builder.cmd new file mode 100644 index 0000000..470e419 --- /dev/null +++ b/node_modules/.bin/electron-builder.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\electron-builder\cli.js" %* diff --git a/node_modules/.bin/electron-builder.ps1 b/node_modules/.bin/electron-builder.ps1 new file mode 100644 index 0000000..8d16cb4 --- /dev/null +++ b/node_modules/.bin/electron-builder.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../electron-builder/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../electron-builder/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../electron-builder/cli.js" $args + } else { + & "node$exe" "$basedir/../electron-builder/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/electron-fuses b/node_modules/.bin/electron-fuses new file mode 100644 index 0000000..aede19a --- /dev/null +++ b/node_modules/.bin/electron-fuses @@ -0,0 +1,16 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../@electron/fuses/dist/bin.js" "$@" +else + exec node "$basedir/../@electron/fuses/dist/bin.js" "$@" +fi diff --git a/node_modules/.bin/electron-fuses.cmd b/node_modules/.bin/electron-fuses.cmd new file mode 100644 index 0000000..5273f03 --- /dev/null +++ b/node_modules/.bin/electron-fuses.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\@electron\fuses\dist\bin.js" %* diff --git a/node_modules/.bin/electron-fuses.ps1 b/node_modules/.bin/electron-fuses.ps1 new file mode 100644 index 0000000..bcf6e36 --- /dev/null +++ b/node_modules/.bin/electron-fuses.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../@electron/fuses/dist/bin.js" $args + } else { + & "$basedir/node$exe" "$basedir/../@electron/fuses/dist/bin.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../@electron/fuses/dist/bin.js" $args + } else { + & "node$exe" "$basedir/../@electron/fuses/dist/bin.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/electron-osx-flat b/node_modules/.bin/electron-osx-flat new file mode 100644 index 0000000..11bb64e --- /dev/null +++ b/node_modules/.bin/electron-osx-flat @@ -0,0 +1,16 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../@electron/osx-sign/bin/electron-osx-flat.js" "$@" +else + exec node "$basedir/../@electron/osx-sign/bin/electron-osx-flat.js" "$@" +fi diff --git a/node_modules/.bin/electron-osx-flat.cmd b/node_modules/.bin/electron-osx-flat.cmd new file mode 100644 index 0000000..7afcd24 --- /dev/null +++ b/node_modules/.bin/electron-osx-flat.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\@electron\osx-sign\bin\electron-osx-flat.js" %* diff --git a/node_modules/.bin/electron-osx-flat.ps1 b/node_modules/.bin/electron-osx-flat.ps1 new file mode 100644 index 0000000..3dafaf3 --- /dev/null +++ b/node_modules/.bin/electron-osx-flat.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../@electron/osx-sign/bin/electron-osx-flat.js" $args + } else { + & "$basedir/node$exe" "$basedir/../@electron/osx-sign/bin/electron-osx-flat.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../@electron/osx-sign/bin/electron-osx-flat.js" $args + } else { + & "node$exe" "$basedir/../@electron/osx-sign/bin/electron-osx-flat.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/electron-osx-sign b/node_modules/.bin/electron-osx-sign new file mode 100644 index 0000000..c67fb80 --- /dev/null +++ b/node_modules/.bin/electron-osx-sign @@ -0,0 +1,16 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../@electron/osx-sign/bin/electron-osx-sign.js" "$@" +else + exec node "$basedir/../@electron/osx-sign/bin/electron-osx-sign.js" "$@" +fi diff --git a/node_modules/.bin/electron-osx-sign.cmd b/node_modules/.bin/electron-osx-sign.cmd new file mode 100644 index 0000000..ba3f8eb --- /dev/null +++ b/node_modules/.bin/electron-osx-sign.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\@electron\osx-sign\bin\electron-osx-sign.js" %* diff --git a/node_modules/.bin/electron-osx-sign.ps1 b/node_modules/.bin/electron-osx-sign.ps1 new file mode 100644 index 0000000..811a379 --- /dev/null +++ b/node_modules/.bin/electron-osx-sign.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../@electron/osx-sign/bin/electron-osx-sign.js" $args + } else { + & "$basedir/node$exe" "$basedir/../@electron/osx-sign/bin/electron-osx-sign.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../@electron/osx-sign/bin/electron-osx-sign.js" $args + } else { + & "node$exe" "$basedir/../@electron/osx-sign/bin/electron-osx-sign.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/electron-rebuild b/node_modules/.bin/electron-rebuild new file mode 100644 index 0000000..078d8d1 --- /dev/null +++ b/node_modules/.bin/electron-rebuild @@ -0,0 +1,16 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../@electron/rebuild/lib/cli.js" "$@" +else + exec node "$basedir/../@electron/rebuild/lib/cli.js" "$@" +fi diff --git a/node_modules/.bin/electron-rebuild.cmd b/node_modules/.bin/electron-rebuild.cmd new file mode 100644 index 0000000..45f850b --- /dev/null +++ b/node_modules/.bin/electron-rebuild.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\@electron\rebuild\lib\cli.js" %* diff --git a/node_modules/.bin/electron-rebuild.ps1 b/node_modules/.bin/electron-rebuild.ps1 new file mode 100644 index 0000000..3ab9a60 --- /dev/null +++ b/node_modules/.bin/electron-rebuild.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../@electron/rebuild/lib/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../@electron/rebuild/lib/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../@electron/rebuild/lib/cli.js" $args + } else { + & "node$exe" "$basedir/../@electron/rebuild/lib/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/electron-windows-sign b/node_modules/.bin/electron-windows-sign new file mode 100644 index 0000000..999f0f3 --- /dev/null +++ b/node_modules/.bin/electron-windows-sign @@ -0,0 +1,16 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../@electron/windows-sign/bin/electron-windows-sign.js" "$@" +else + exec node "$basedir/../@electron/windows-sign/bin/electron-windows-sign.js" "$@" +fi diff --git a/node_modules/.bin/electron-windows-sign.cmd b/node_modules/.bin/electron-windows-sign.cmd new file mode 100644 index 0000000..e76e940 --- /dev/null +++ b/node_modules/.bin/electron-windows-sign.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\@electron\windows-sign\bin\electron-windows-sign.js" %* diff --git a/node_modules/.bin/electron-windows-sign.ps1 b/node_modules/.bin/electron-windows-sign.ps1 new file mode 100644 index 0000000..345e17d --- /dev/null +++ b/node_modules/.bin/electron-windows-sign.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../@electron/windows-sign/bin/electron-windows-sign.js" $args + } else { + & "$basedir/node$exe" "$basedir/../@electron/windows-sign/bin/electron-windows-sign.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../@electron/windows-sign/bin/electron-windows-sign.js" $args + } else { + & "node$exe" "$basedir/../@electron/windows-sign/bin/electron-windows-sign.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/electron.cmd b/node_modules/.bin/electron.cmd new file mode 100644 index 0000000..16521fb --- /dev/null +++ b/node_modules/.bin/electron.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\electron\cli.js" %* diff --git a/node_modules/.bin/electron.ps1 b/node_modules/.bin/electron.ps1 new file mode 100644 index 0000000..65d0d7a --- /dev/null +++ b/node_modules/.bin/electron.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../electron/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../electron/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../electron/cli.js" $args + } else { + & "node$exe" "$basedir/../electron/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/install-app-deps b/node_modules/.bin/install-app-deps new file mode 100644 index 0000000..cf61565 --- /dev/null +++ b/node_modules/.bin/install-app-deps @@ -0,0 +1,16 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../electron-builder/install-app-deps.js" "$@" +else + exec node "$basedir/../electron-builder/install-app-deps.js" "$@" +fi diff --git a/node_modules/.bin/install-app-deps.cmd b/node_modules/.bin/install-app-deps.cmd new file mode 100644 index 0000000..b232e83 --- /dev/null +++ b/node_modules/.bin/install-app-deps.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\electron-builder\install-app-deps.js" %* diff --git a/node_modules/.bin/install-app-deps.ps1 b/node_modules/.bin/install-app-deps.ps1 new file mode 100644 index 0000000..e17256c --- /dev/null +++ b/node_modules/.bin/install-app-deps.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../electron-builder/install-app-deps.js" $args + } else { + & "$basedir/node$exe" "$basedir/../electron-builder/install-app-deps.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../electron-builder/install-app-deps.js" $args + } else { + & "node$exe" "$basedir/../electron-builder/install-app-deps.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/install-electron b/node_modules/.bin/install-electron new file mode 100644 index 0000000..c1dc5e5 --- /dev/null +++ b/node_modules/.bin/install-electron @@ -0,0 +1,16 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../electron/install.js" "$@" +else + exec node "$basedir/../electron/install.js" "$@" +fi diff --git a/node_modules/.bin/install-electron.cmd b/node_modules/.bin/install-electron.cmd new file mode 100644 index 0000000..87f2b0f --- /dev/null +++ b/node_modules/.bin/install-electron.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\electron\install.js" %* diff --git a/node_modules/.bin/install-electron.ps1 b/node_modules/.bin/install-electron.ps1 new file mode 100644 index 0000000..e58f780 --- /dev/null +++ b/node_modules/.bin/install-electron.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../electron/install.js" $args + } else { + & "$basedir/node$exe" "$basedir/../electron/install.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../electron/install.js" $args + } else { + & "node$exe" "$basedir/../electron/install.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/jake b/node_modules/.bin/jake new file mode 100644 index 0000000..b92bfba --- /dev/null +++ b/node_modules/.bin/jake @@ -0,0 +1,16 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../jake/bin/cli.js" "$@" +else + exec node "$basedir/../jake/bin/cli.js" "$@" +fi diff --git a/node_modules/.bin/jake.cmd b/node_modules/.bin/jake.cmd new file mode 100644 index 0000000..45b0465 --- /dev/null +++ b/node_modules/.bin/jake.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\jake\bin\cli.js" %* diff --git a/node_modules/.bin/jake.ps1 b/node_modules/.bin/jake.ps1 new file mode 100644 index 0000000..d86e1bd --- /dev/null +++ b/node_modules/.bin/jake.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../jake/bin/cli.js" $args + } else { + & "$basedir/node$exe" "$basedir/../jake/bin/cli.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../jake/bin/cli.js" $args + } else { + & "node$exe" "$basedir/../jake/bin/cli.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/jiti b/node_modules/.bin/jiti new file mode 100644 index 0000000..f4ef06f --- /dev/null +++ b/node_modules/.bin/jiti @@ -0,0 +1,16 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../jiti/lib/jiti-cli.mjs" "$@" +else + exec node "$basedir/../jiti/lib/jiti-cli.mjs" "$@" +fi diff --git a/node_modules/.bin/jiti.cmd b/node_modules/.bin/jiti.cmd new file mode 100644 index 0000000..a3029d6 --- /dev/null +++ b/node_modules/.bin/jiti.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\jiti\lib\jiti-cli.mjs" %* diff --git a/node_modules/.bin/jiti.ps1 b/node_modules/.bin/jiti.ps1 new file mode 100644 index 0000000..baf5345 --- /dev/null +++ b/node_modules/.bin/jiti.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../jiti/lib/jiti-cli.mjs" $args + } else { + & "$basedir/node$exe" "$basedir/../jiti/lib/jiti-cli.mjs" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../jiti/lib/jiti-cli.mjs" $args + } else { + & "node$exe" "$basedir/../jiti/lib/jiti-cli.mjs" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/js-yaml b/node_modules/.bin/js-yaml new file mode 100644 index 0000000..82416ef --- /dev/null +++ b/node_modules/.bin/js-yaml @@ -0,0 +1,16 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../js-yaml/bin/js-yaml.js" "$@" +else + exec node "$basedir/../js-yaml/bin/js-yaml.js" "$@" +fi diff --git a/node_modules/.bin/js-yaml.cmd b/node_modules/.bin/js-yaml.cmd new file mode 100644 index 0000000..7154987 --- /dev/null +++ b/node_modules/.bin/js-yaml.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\js-yaml\bin\js-yaml.js" %* diff --git a/node_modules/.bin/js-yaml.ps1 b/node_modules/.bin/js-yaml.ps1 new file mode 100644 index 0000000..2acfc61 --- /dev/null +++ b/node_modules/.bin/js-yaml.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args + } else { + & "$basedir/node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args + } else { + & "node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_modules/.bin/json5 b/node_modules/.bin/json5 new file mode 100644 index 0000000..abf72a4 --- /dev/null +++ b/node_modules/.bin/json5 @@ -0,0 +1,16 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../json5/lib/cli.js" "$@" +else + exec node "$basedir/../json5/lib/cli.js" "$@" +fi