Skip to content

Commit

Permalink
init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
michioxd authored Oct 30, 2022
1 parent 2bfa9e5 commit 9e8ed88
Show file tree
Hide file tree
Showing 4 changed files with 453 additions and 0 deletions.
67 changes: 67 additions & 0 deletions UnikeyNTSetup.iss
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
; Unikey Setup
; (C) 2022 michioxd - UniKey by Pham Kim Long (https://sourceforge.net/projects/unikey)
;
; MIT License
;
; Copyright (c) 2022 michioxd
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
; copies of the Software, and to permit persons to whom the Software is
; furnished to do so, subject to the following conditions:
;
; The above copyright notice and this permission notice shall be included in all
; copies or substantial portions of the Software.
;
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
; SOFTWARE.
#define MainAppName "UniKey"
#define AppVer "4.3 RC5"
#define AppPublisher "Pham Kim Long for UniKey"
#define AppUrl "https://github.com/michioxd/unikey-setup"
#define AppExe "UniKeyNT.exe"

[Setup]
AppId={{06FAA1EC-3D71-47B4-8392-9F012C0E29E8}
AppName={#MainAppName}
AppVersion={#AppVer}
AppPublisher={#AppPublisher}
AppPublisherURL={#AppUrl}
AppSupportURL={#AppUrl}
AppUpdatesURL={#AppUrl}
DefaultDirName={autopf}\UniKeyNT
DefaultGroupName=UniKeyNT
AllowNoIcons=yes
LicenseFile=".\licenseSetup.txt"
OutputDir=".\output"
OutputBaseFilename=UniKeyNTSetup
Compression=lzma
SolidCompression=yes
WizardStyle=modern

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: ".\assets\{#AppExe}"; DestDir: "{app}"; Flags: ignoreversion
Source: ".\assets\keymap.txt"; DestDir: "{app}"; Flags: ignoreversion
[Icons]
Name: "{group}\{#MainAppName}"; Filename: "{app}\{#AppExe}"
Name: "{group}\{cm:UninstallProgram,{#MainAppName}}"; Filename: "{uninstallexe}"
Name: "{autodesktop}\{#MainAppName}"; Filename: "{app}\{#AppExe}"; Tasks: desktopicon

[Run]
Filename: "{app}\{#AppExe}"; Description: "{cm:LaunchProgram,{#StringChange(MainAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent

[UninstallRun]
Filename: "{cmd}"; Parameters: "/C ""taskkill /im {#AppExe}.exe /f"
Binary file added assets/UniKeyNT.exe
Binary file not shown.
13 changes: 13 additions & 0 deletions assets/keymap.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
; This is UniKey user-defined key mapping file, generated from UniKey (Windows)

Z = Tone0
S = Tone1
F = Tone2
R = Tone3
X = Tone4
J = Tone5
W = Hook-Bowl
A = Roof-A
E = Roof-E
O = Roof-O
D = D-Mark
Loading

0 comments on commit 9e8ed88

Please sign in to comment.