Skip to content

Commit c15cf13

Browse files
committed
Added TSV data for roles and users, along with installer files.
1 parent 51822b4 commit c15cf13

File tree

5 files changed

+52
-2
lines changed

5 files changed

+52
-2
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/installer
2-
/tsv
31
/DigiCertGlobalRootCA.crt.pem
42
/keystore.jks
53
**/.vscode/

installer/postshare-1.0.2.exe

75.3 MB
Binary file not shown.

installer/scripts.iss

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
; Script generated by the Inno Setup Script Wizard.
2+
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
3+
4+
#define MyAppName "Post Share"
5+
#define MyAppVersion "1.0.2"
6+
#define MyAppPublisher "Nguyen Ngoc Thuy Duong"
7+
#define MyAppExeName "PostShare.exe"
8+
9+
[Setup]
10+
; NOTE: The value of AppId uniquely identifies this application.
11+
; Do not use the same AppId value in installers for other applications.
12+
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
13+
AppId={{2B77017E-4699-4BB8-9FA1-57D88A3A2B9C}
14+
AppName={#MyAppName}
15+
AppVersion={#MyAppVersion}
16+
;AppVerName={#MyAppName} {#MyAppVersion}
17+
AppPublisher={#MyAppPublisher}
18+
DefaultDirName={pf}\{#MyAppName}
19+
DisableProgramGroupPage=yes
20+
OutputDir=D:\Youtube\PostShare\installer
21+
OutputBaseFilename=postshare-1.0.2
22+
Compression=lzma
23+
SolidCompression=yes
24+
25+
[Languages]
26+
Name: "english"; MessagesFile: "compiler:Default.isl"
27+
28+
[Tasks]
29+
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
30+
31+
[Files]
32+
Source: "D:\Youtube\PostShare\frontend\PostShare-win32-x64\PostShare.exe"; DestDir: "{app}"; Flags: ignoreversion
33+
Source: "D:\Youtube\PostShare\frontend\PostShare-win32-x64\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
34+
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
35+
36+
[Icons]
37+
Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
38+
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
39+
40+
[Run]
41+
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
42+

tsv/role.tsv

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
id description name
2+
1 USER
3+
2 STAFF
4+
3 ADMIN

tsv/user.tsv

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
id active created_by created_date email fullname last_modified_by last_modified_date password role_id
2+
0a54a9f6-bd4c-4638-ab12-a02422922a5f true 5d99ca4f-ebf6-43e1-916b-f9020b9b29b1 2024-05-02 16:05:38.299457 [email protected] user1 5d99ca4f-ebf6-43e1-916b-f9020b9b29b1 2024-05-02 16:05:38.299457 $2a$10$SvWnm37/yIiDDEIuxllHkuJTP9p5IPZT0h5bSynYzmCUUAWd5CMxi 1
3+
3caac38d-379b-437f-9d4e-da752bf125fc true 5d99ca4f-ebf6-43e1-916b-f9020b9b29b1 2024-05-02 16:08:05.960562 [email protected] user2 5d99ca4f-ebf6-43e1-916b-f9020b9b29b1 2024-05-02 16:08:05.960562 $2a$10$Z99Pfjy0liemOjvAjl.WxO43BZIMhQKs1U0x1S0XvFkIZyxpamV2C 1
4+
5d99ca4f-ebf6-43e1-916b-f9020b9b29b1 true 2024-05-02 16:01:55.477068 [email protected] [email protected] 2024-05-02 16:01:55.477068 $2a$10$KnFS7R222HMEEDT0jYJB7.TLjcHqoqisjIpcxUulr6tR5Un5VNoqy 2
5+
636ffe7b-c373-41eb-bd41-877096c81378 true 5d99ca4f-ebf6-43e1-916b-f9020b9b29b1 2024-05-02 16:05:15.643299 [email protected] user 5d99ca4f-ebf6-43e1-916b-f9020b9b29b1 2024-05-02 16:05:15.643299 $2a$10$RfMgmRNblT0kGAVIQ.WvKeZAyUvqAtDgsbzklQQ4kxvkDqYP7Cz5i 1
6+
f79f5d7e-5e0b-4f4d-919a-c778ebb1faf2 true 5d99ca4f-ebf6-43e1-916b-f9020b9b29b1 2024-05-02 16:05:28.629701 [email protected] staff 5d99ca4f-ebf6-43e1-916b-f9020b9b29b1 2024-05-02 16:07:50.025574 $2a$10$KnFS7R222HMEEDT0jYJB7.TLjcHqoqisjIpcxUulr6tR5Un5VNoqy 2

0 commit comments

Comments
 (0)