├── .github
└── ISSUE_TEMPLATE
│ ├── bug_report.md
│ └── feature_request.md
├── .gitignore
├── CODE_OF_CONDUCT.md
├── LICENSE
├── README.md
├── SetEnv.exe
├── config.cpp
├── icons
├── logo.png
├── png
│ ├── 1024x1024.png
│ ├── 128x128.png
│ ├── 16x16.png
│ ├── 24x24.png
│ ├── 256x256.png
│ ├── 32x32.png
│ ├── 48x48.png
│ ├── 512x512.png
│ ├── 64x64.png
│ └── 96x96.png
└── win
│ └── app.ico
├── main.js
├── package.json
├── renderer.js
├── resource.res
├── static
├── css
│ ├── font.css
│ └── style.css
├── font
│ ├── Audiowide-Regular.ttf
│ ├── flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2
│ └── roboto
│ │ ├── Roboto-Bold.eot
│ │ ├── Roboto-Bold.ttf
│ │ ├── Roboto-Bold.woff
│ │ ├── Roboto-Bold.woff2
│ │ ├── Roboto-Light.eot
│ │ ├── Roboto-Light.ttf
│ │ ├── Roboto-Light.woff
│ │ ├── Roboto-Light.woff2
│ │ ├── Roboto-Medium.eot
│ │ ├── Roboto-Medium.ttf
│ │ ├── Roboto-Medium.woff
│ │ ├── Roboto-Medium.woff2
│ │ ├── Roboto-Regular.eot
│ │ ├── Roboto-Regular.ttf
│ │ ├── Roboto-Regular.woff
│ │ ├── Roboto-Regular.woff2
│ │ ├── Roboto-Thin.eot
│ │ ├── Roboto-Thin.ttf
│ │ ├── Roboto-Thin.woff
│ │ └── Roboto-Thin.woff2
├── images
│ └── ss1.png
├── js
│ └── script.js
└── webfonts
│ ├── fa-brands-400.eot
│ ├── fa-brands-400.svg
│ ├── fa-brands-400.ttf
│ ├── fa-brands-400.woff
│ ├── fa-brands-400.woff2
│ ├── fa-regular-400.eot
│ ├── fa-regular-400.svg
│ ├── fa-regular-400.ttf
│ ├── fa-regular-400.woff
│ ├── fa-regular-400.woff2
│ ├── fa-solid-900.eot
│ ├── fa-solid-900.svg
│ ├── fa-solid-900.ttf
│ ├── fa-solid-900.woff
│ └── fa-solid-900.woff2
├── views
└── main.html
├── x64.nsi
└── x86.nsi
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug report
3 | about: Create a report to help us improve
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Describe the bug**
11 | A clear and concise description of what the bug is.
12 |
13 | **To Reproduce**
14 | Steps to reproduce the behavior:
15 | 1. Go to '...'
16 | 2. Click on '....'
17 | 3. Scroll down to '....'
18 | 4. See error
19 |
20 | **Expected behavior**
21 | A clear and concise description of what you expected to happen.
22 |
23 | **Screenshots**
24 | If applicable, add screenshots to help explain your problem.
25 |
26 | **Desktop (please complete the following information):**
27 | - OS: [e.g. iOS]
28 | - Version [e.g. 22]
29 |
30 | **Additional context**
31 | Add any other context about the problem here.
32 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/feature_request.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Feature request
3 | about: Suggest an idea for this project
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Is your feature request related to a problem? Please describe.**
11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12 |
13 | **Describe the solution you'd like**
14 | A clear and concise description of what you want to happen.
15 |
16 | **Describe alternatives you've considered**
17 | A clear and concise description of any alternative solutions or features you've considered.
18 |
19 | **Additional context**
20 | Add any other context or screenshots about the feature request here.
21 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Logs
2 | logs
3 | *.log
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 | bin
8 | # Runtime data
9 | pids
10 | *.pid
11 | *.seed
12 | *.pid.lock
13 | *-lock.json
14 |
15 | # Directory for instrumented libs generated by jscoverage/JSCover
16 | lib-cov
17 |
18 | # Coverage directory used by tools like istanbul
19 | coverage
20 |
21 | # nyc test coverage
22 | .nyc_output
23 |
24 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
25 | .grunt
26 |
27 | # Bower dependency directory (https://bower.io/)
28 | bower_components
29 |
30 | # node-waf configuration
31 | .lock-wscript
32 |
33 | # Compiled binary addons (https://nodejs.org/api/addons.html)
34 | release-builds
35 |
36 | # Dependency directories
37 | node_modules/
38 | jspm_packages/
39 |
40 | # TypeScript v1 declaration files
41 | typings/
42 |
43 | # Optional npm cache directory
44 | .npm
45 |
46 | # Optional eslint cache
47 | .eslintcache
48 |
49 | # Optional REPL history
50 | .node_repl_history
51 |
52 | # Output of 'npm pack'
53 | *.tgz
54 |
55 | # Yarn Integrity file
56 | .yarn-integrity
57 |
58 | # dotenv environment variables file
59 | .env
60 |
61 | # next.js build output
62 | .next
63 | #custom
64 | *-lock.json
65 | .vscode
66 | new.exe
67 | ConfigUtility.exe
68 | resource.rc
69 | test
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Contributor Covenant Code of Conduct
2 |
3 | ## Our Pledge
4 |
5 | In the interest of fostering an open and welcoming environment, we as
6 | contributors and maintainers pledge to making participation in our project and
7 | our community a harassment-free experience for everyone, regardless of age, body
8 | size, disability, ethnicity, sex characteristics, gender identity and expression,
9 | level of experience, education, socio-economic status, nationality, personal
10 | appearance, race, religion, or sexual identity and orientation.
11 |
12 | ## Our Standards
13 |
14 | Examples of behavior that contributes to creating a positive environment
15 | include:
16 |
17 | * Using welcoming and inclusive language
18 | * Being respectful of differing viewpoints and experiences
19 | * Gracefully accepting constructive criticism
20 | * Focusing on what is best for the community
21 | * Showing empathy towards other community members
22 |
23 | Examples of unacceptable behavior by participants include:
24 |
25 | * The use of sexualized language or imagery and unwelcome sexual attention or
26 | advances
27 | * Trolling, insulting/derogatory comments, and personal or political attacks
28 | * Public or private harassment
29 | * Publishing others' private information, such as a physical or electronic
30 | address, without explicit permission
31 | * Other conduct which could reasonably be considered inappropriate in a
32 | professional setting
33 |
34 | ## Our Responsibilities
35 |
36 | Project maintainers are responsible for clarifying the standards of acceptable
37 | behavior and are expected to take appropriate and fair corrective action in
38 | response to any instances of unacceptable behavior.
39 |
40 | Project maintainers have the right and responsibility to remove, edit, or
41 | reject comments, commits, code, wiki edits, issues, and other contributions
42 | that are not aligned to this Code of Conduct, or to ban temporarily or
43 | permanently any contributor for other behaviors that they deem inappropriate,
44 | threatening, offensive, or harmful.
45 |
46 | ## Scope
47 |
48 | This Code of Conduct applies both within project spaces and in public spaces
49 | when an individual is representing the project or its community. Examples of
50 | representing a project or community include using an official project e-mail
51 | address, posting via an official social media account, or acting as an appointed
52 | representative at an online or offline event. Representation of a project may be
53 | further defined and clarified by project maintainers.
54 |
55 | ## Enforcement
56 |
57 | Instances of abusive, harassing, or otherwise unacceptable behavior may be
58 | reported by contacting the project team at ngudbhav05@hotmail.com. All
59 | complaints will be reviewed and investigated and will result in a response that
60 | is deemed necessary and appropriate to the circumstances. The project team is
61 | obligated to maintain confidentiality with regard to the reporter of an incident.
62 | Further details of specific enforcement policies may be posted separately.
63 |
64 | Project maintainers who do not follow or enforce the Code of Conduct in good
65 | faith may face temporary or permanent repercussions as determined by other
66 | members of the project's leadership.
67 |
68 | ## Attribution
69 |
70 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71 | available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72 |
73 | [homepage]: https://www.contributor-covenant.org
74 |
75 | For answers to common questions about this code of conduct, see
76 | https://www.contributor-covenant.org/faq
77 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 Udbhav Gambhir
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 | [](https://github.com/ngudbhav/lazyType/releases)
3 | [](https://github.com/ngudbhav/lazyType/blob/master/package.json)
4 | [](https://github.com/ngudbhav/lazyType/releases)
5 | [](https://github.com/ngudbhav/lazType/releases)
6 | [](https://github.com/ngudbhav/lazyType/releases)
7 |
8 | # Lazy Type
9 |
10 | A Software to create aliases for commands, applications to type in cmd, terminal. Just type the original command and type an alias for it. You can also assign a program for it. Browse through the directory to find the program or anything executable using the command line and you can create an alias for the same. Only Windows is supported for releases.
11 |
12 |
14 |
15 | 
16 |
17 | ## Features
18 |
19 | **Shortcut for Command/File**
20 |
21 | Point a command either to an existing system command or to an executable file.
22 |
23 | **Backup/Restore Utility**
24 |
25 | Move all the commands to and fro a new/already configured system.
26 |
27 | **Configuration Checkup Inbuilt**
28 |
29 | Launch the utility from the app itself if there is a problem with the commands.
30 |
31 | ## Building/Testing
32 |
33 | You need g++ in your path to build/test the code. The code uses MINGW++ compiler. Also, electron must be installed globally in the system.
34 |
35 | ```sh
36 | npm install -g electron
37 | git clone https://github.com/ngudbhav/lazyType.git
38 | cd lazyType
39 | npm install
40 | g++ config.cpp -o ConfigUtility.exe resource.res
41 | npm start
42 | ```
43 |
44 | ## Installing The App
45 |
46 | ```sh
47 | Setupx64.exe => Full Windows install for 64-bit Windows.
48 | Setupx86.exe => Full Windows install for 32-bit Windows.
49 | ```
50 |
51 | ## Contributing
52 |
53 | Big Kudos to Hitesh Peswani for his incredible UI contributions.
54 |
55 | We encourage you to contribute to Lazy Type!
56 |
57 | We expect contributors to abide by our underlying [code of conduct](./CODE_OF_CONDUCT.md).
58 | All conversations and discussions on GitHub (issues, pull requests)
59 | must be respectful and harassment-free.
60 |
61 |
62 |
63 | ## License
64 |
65 | This project is licensed under the MIT License - see the LICENSE.md file for details.
66 |
--------------------------------------------------------------------------------
/SetEnv.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/SetEnv.exe
--------------------------------------------------------------------------------
/config.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | int main(int argc, char **argv)
5 | {
6 | //Creating the command. See https://www.codeproject.com/Articles/12153/SetEnv
7 | std::string cmd = "SetEnv.exe -a PATH %\"";
8 | //Get the current working directory
9 | TCHAR path[MAX_PATH];
10 | if(argv[1]){
11 | strcpy((char *)path, argv[1]);
12 | }
13 | else{
14 | GetCurrentDirectory(MAX_PATH, path);
15 | }
16 | std::string p = (char *)path;
17 | //Add the bin folder to the current working directory
18 | if(!argv[1]){
19 | p = p+"\\bin\"";
20 | }//strcat((char *)path, "\\bin\"");
21 | cmd = cmd + p;
22 | //Cast to const char *
23 | const char *cstr = cmd.c_str();
24 | //Check for supported libraries
25 | if(system(NULL)){
26 | //Execute the command
27 | int res = system(cstr);
28 | if(res == 1 || res == 5){
29 | //std::cout << "Admin rights denied";
30 | std::cout<< 1;
31 | }
32 | else if(res == 0){
33 | //std::cout << "Success Addition to the system PATH.";
34 | std::cout<< 0;
35 | }
36 | }
37 | else{
38 | //std::cout << "Platform Unsupported. Please file an issue here https://github.com/ngudbhav/lazyType/issues";
39 | std::cout<< - 1;
40 | }
41 | return 0;
42 | }
--------------------------------------------------------------------------------
/icons/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/icons/logo.png
--------------------------------------------------------------------------------
/icons/png/1024x1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/icons/png/1024x1024.png
--------------------------------------------------------------------------------
/icons/png/128x128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/icons/png/128x128.png
--------------------------------------------------------------------------------
/icons/png/16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/icons/png/16x16.png
--------------------------------------------------------------------------------
/icons/png/24x24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/icons/png/24x24.png
--------------------------------------------------------------------------------
/icons/png/256x256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/icons/png/256x256.png
--------------------------------------------------------------------------------
/icons/png/32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/icons/png/32x32.png
--------------------------------------------------------------------------------
/icons/png/48x48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/icons/png/48x48.png
--------------------------------------------------------------------------------
/icons/png/512x512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/icons/png/512x512.png
--------------------------------------------------------------------------------
/icons/png/64x64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/icons/png/64x64.png
--------------------------------------------------------------------------------
/icons/png/96x96.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/icons/png/96x96.png
--------------------------------------------------------------------------------
/icons/win/app.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/icons/win/app.ico
--------------------------------------------------------------------------------
/main.js:
--------------------------------------------------------------------------------
1 | const {app, BrowserWindow, ipcMain, shell, dialog} = require('electron');
2 | const path = require('path');
3 | const fs = require('fs');
4 | const request = require('request');
5 | const sudo = require('sudo-prompt');
6 | const appDir = path.dirname(app.getPath('userData')) + '\\lazyType\\bin';
7 | const nedb = require('nedb');
8 | const history = new nedb({
9 | filename: app.getPath('appData') + '/lazyType/data/history.db'
10 | });
11 | //Save the db in format
12 | //{
13 | // "name":"trico",
14 | // "path":path
15 | //}
16 | history.loadDatabase();
17 | const settings = new nedb({
18 | filename: app.getPath('appData') + '/lazyType/data/settings.db'
19 | });
20 | settings.loadDatabase();
21 |
22 | let mainScreen;
23 | function createMainWindow(){
24 | //Create login screen
25 | mainScreen = new BrowserWindow({
26 | width: 1000, height: 600, minHeight: 600, icon: 'icons/win/app.ico',
27 | minWidth: 1000,webPreferences: {
28 | nodeIntegration: true
29 | },frame:false});
30 | mainScreen.loadFile(path.join(__dirname, 'views', 'main.html'));
31 | mainScreen.setMenu(null);
32 | mainScreen.removeMenu();
33 | //mainScreen.openDevTools();
34 | mainScreen.on('closed', function(){
35 | loginScreen = null;
36 | });
37 | checkUpdates();
38 | fs.mkdir(appDir, function(error){
39 | if(error){
40 | if (error.code !== 'EEXIST') {
41 | throw error;
42 | }
43 | }
44 | });
45 | }
46 | ipcMain.on('finish-load', function(e, item){
47 | history.find({}, function (error, results) {
48 | if (error) throw error;
49 | else {
50 | console.log(results);
51 | mainScreen.webContents.send('history', results);
52 | //Detect first run and perform config steps initially.
53 | settings.find({}, function (error, results) {
54 | if (error) throw error;
55 | else {
56 | if (results.length === 0) {
57 | dialog.showMessageBox(mainScreen, {
58 | type: "info",
59 | buttons: ["Ok", "Cancel"],
60 | title: "First Run",
61 | message: "This seems to be the first time, the software is run on the system. We need to perform some final configuration steps once. Click Ok to begin."
62 | }, function (response) {
63 | if (response === 0) {
64 | configureSystem();
65 | settings.insert({ firstRun: false }, function (error, results) {
66 | if (error) throw error;
67 | });
68 | }
69 | else {
70 | //Turn off the initial configuration switch.
71 | settings.insert({ firstRun: false }, function (error, results) {
72 | if (error) throw error;
73 | });
74 | }
75 | });
76 | }
77 | else {
78 | //Turn off the initial configuration switch.
79 | settings.insert({ firstRun: false }, function (error, results) {
80 | if (error) throw error;
81 | });
82 | }
83 | }
84 | });
85 | }
86 | });
87 | });
88 | ipcMain.on('addItem', function(e, item){
89 | addItem(item);
90 | });
91 | ipcMain.on('deleteItem', function(e, item){
92 | deleteItem(item, 1);
93 | });
94 | function checkUpdates(e) {
95 | request('https://api.github.com/repos/ngudbhav/lazyType/releases/latest', { headers: { 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 ' } }, function (error, html, body) {
96 | if (!error) {
97 | var v = app.getVersion().replace(' ', '');
98 | var latestV = JSON.parse(body).tag_name.replace('v', '');
99 | var changeLog = JSON.parse(body).body.replace('Changelog ', 'Update available. Here are the changes:\n');
100 | if (latestV != v) {
101 | dialog.showMessageBox(
102 | {
103 | type: 'info',
104 | buttons: ['Open Browser to download link', 'Close'],
105 | title: 'Update Available',
106 | detail: changeLog,
107 | }, function (response) {
108 | if (response === 0) {
109 | shell.openExternal('https://github.com/ngudbhav/lazyType/releases/latest');
110 | }
111 | }
112 | );
113 | notifier.notify({
114 | appName: "NGUdbhav.lazy",
115 | title: 'Update Available',
116 | message: 'A new version is available. Click to open browser and download.',
117 | icon: path.join(__dirname, 'images', 'logo.ico'),
118 | sound: true,
119 | wait: true
120 | });
121 | notifier.on('click', function (notifierObject, options) {
122 | shell.openExternal('https://github.com/ngudbhav/lazyType/releases/latest');
123 | });
124 | }
125 | else {
126 | if (e === 'f') {
127 | mainScreen.webContents.send('status', { status: 4 });
128 | }
129 | }
130 | }
131 | else {
132 | if (e === 'f') {
133 | mainScreen.webContents.send('status', { status: 5 });
134 | }
135 | }
136 | });
137 | }
138 | ipcMain.on('update', function (e, item) {
139 | checkUpdates('f');
140 | });
141 | ipcMain.on('help', function(e, item){
142 | shell.openExternal('https://github.com/ngudbhav/lazyType');
143 | });
144 | ipcMain.on('config', function(e, item){
145 | //extract the current path
146 | //check if system is already configured
147 | configureSystem();
148 | });
149 |
150 | ipcMain.on('backup', function(e, item){
151 | dialog.showMessageBox(mainScreen, {
152 | type: "info",
153 | buttons: ["Backup", "Restore", "Cancel"],
154 | title: "Backup/Restore",
155 | message: "Choose the directory where you want to keep your backup file. While restoring, Browse to the file."
156 | }, function(response){
157 | if(response === 0){
158 | //Backup
159 | dialog.showSaveDialog(mainScreen, {
160 | title: 'Save the backup file',
161 | defaultPath: 'history.db'
162 | }, function (filePath) {
163 | if (filePath) {
164 | fs.copyFile(app.getPath('appData') + '/lazyType/data/history.db', filePath, function (error) {
165 | if (error) throw error;
166 | else {
167 | dialog.showMessageBox(mainScreen, {
168 | type: 'info',
169 | buttons: ["Ok"],
170 | title: 'Backup',
171 | message: "The backup file has been successfully saved."
172 | });
173 | }
174 | });
175 | }
176 | });
177 | }
178 | else if(response === 1){
179 | //restore
180 | dialog.showOpenDialog(mainScreen, {
181 | properties: ['openFile'],
182 | filters: [
183 | {
184 | name: 'LazyType Backup', extensions: ['db']
185 | }
186 | ]
187 | }, function (filePath) {
188 | if (filePath[0]) {
189 | let tempFile = new nedb({
190 | filename: filePath[0]
191 | });
192 | tempFile.loadDatabase();
193 | tempFile.find({}, function (error, results) {
194 | if (error) throw error;
195 | else {
196 | for (let i = 0; i < results.length; i++) {
197 | addItem(results[i]);
198 | }
199 | }
200 | dialog.showMessageBox(mainScreen, {
201 | type: "info",
202 | title: "restore",
203 | buttons: ["Ok"],
204 | message: "The backup has been successfully restored. The software will now restart."
205 | }, function(response){
206 | app.relaunch();
207 | app.quit(0);
208 | });
209 | });
210 | }
211 | });
212 | }
213 | });
214 | });
215 |
216 | function configureSystem(){
217 | if (!process.env.PATH.includes(appDir)) {
218 | dialog.showMessageBox(mainScreen, {
219 | type: "info",
220 | buttons: ["Ok", "Cancel"],
221 | title: "Configuration",
222 | message: "Configuration process takes some time depending on your computer. The system may ask for admin rights."
223 | }, function (response) {
224 | //0 => Yes
225 | //1 => No
226 | if (!response) {
227 | mainScreen.webContents.send('status', { status: 7 });
228 | //ask for admin rights and invoke the output of config.cpp as new.exe
229 | sudo.exec('ConfigUtility.exe '+appDir, {
230 | name: 'Lazy Type'
231 | }, function (error, stdout, stderr) {
232 | if (error) throw error;
233 | else {
234 | if (stdout == 0) {
235 | mainScreen.webContents.send('status', { status: 3 });
236 | dialog.showMessageBox(mainScreen, {
237 | type: "info",
238 | buttons: ["Ok"],
239 | title: "Configuration",
240 | message: "The system is configured. The software must be restarted to save the new configuration changes. Click Ok to quit the app."
241 | }, function (response) {
242 | app.quit(0);
243 | });
244 | }
245 | else {
246 | dialog.showErrorBox('Lazy Type', 'There seems to be an error. ' + stdout);
247 | }
248 | }
249 | });
250 | }
251 | });
252 | }
253 | else {
254 | dialog.showMessageBox(mainScreen, {
255 | type: "info",
256 | buttons: ["Ok"],
257 | title: "Configuration",
258 | message: "The system is already configured. If the commands still do not work, file an issue over at the 'Get Help' link."
259 | });
260 | }
261 | }
262 |
263 | function addItem(data){
264 | //{
265 | // name: ""//New command name.
266 | // path: ""//File path in case of file and CMD alias in case of command
267 | // switch: ""//1 for command and 0 for file
268 | //}
269 | //In case updation is performed
270 | history.find({path: data.path}, function (error, results) {
271 | //The case when only the alias is updated
272 | if (error) throw error;
273 | else {
274 | if(results.length===1){
275 | updateItem(data, results[0].name);//Only rename the file
276 | }
277 | else{
278 | history.find({name: data.name}, function(error, results){
279 | //The case when the path is updated
280 | if(error) throw error;
281 | else{
282 | if(results.length === 1){
283 | //Delete the previous file with the same name
284 | deleteItem(data, 0);
285 | //Create a new file with the new path
286 | createItem(data);
287 | }
288 | else{
289 | //New command Input Case
290 | //Create a new File
291 | createItem(data);
292 | }
293 | }
294 | });
295 | }
296 | }
297 | });
298 | }
299 | function createItem(data){
300 | //Create file and add entry into the database
301 | //Both cases differ by switch 1/0.
302 | if(data.switch === 0){
303 | fs.writeFile(appDir+'\\'+data.name+'.cmd', '@echo off\nstart "" /B \"'+data.path+' %*\"', function (error) {
304 | if (error) throw error;
305 | else{
306 | //History entry
307 | history.insert({ "name": data.name, "path": data.path, "switch": data.switch}, function(error){
308 | if(error) throw error;
309 | else{
310 | mainScreen.webContents.send('status', { name: data.name, status: 1 });
311 | }
312 | });
313 | }
314 | });
315 | }
316 | else{
317 | fs.writeFile(appDir + '\\' +data.name+'.cmd', "@echo off\n"+data.path+" %*", function (error) {
318 | if (error) throw error;
319 | else{
320 | //History entry
321 | history.insert({ "name": data.name, "path": data.path, "switch": data.switch}, function (error) {
322 | if (error) throw error;
323 | else{
324 | mainScreen.webContents.send('status', {name:data.name, status:1});
325 | }
326 | });
327 | }
328 | });
329 | }
330 | //Run an existing command
331 | }
332 | function deleteItem(data, flag){
333 | //Delete the command
334 | fs.unlink(appDir + '\\' +data.name+".cmd", function(error){
335 | if(error) throw error;
336 | else{
337 | history.remove({name: data.name}, {multi: true});
338 | mainScreen.webContents.send('status', { name: data.name, status: 2 });
339 | }
340 | });
341 | }
342 | function updateItem(data, oname){
343 | //Just renaming the command will invoke the file
344 | //Previous Name -> New Name
345 | fs.rename(appDir + '\\' + oname + '.cmd', appDir + '\\' +data.name+'.cmd', function (error) {
346 | if (error) throw error;
347 | else{
348 | history.update({"name":oname}, {$set:{"name":data.name}}, {multi: true}, function(error){
349 | if(error) throw error;
350 | else{
351 | mainScreen.webContents.send('status', { name: data.name, status: 3 });
352 | }
353 | });
354 | }
355 | });
356 | }
357 |
358 | app.on('ready', ()=>{
359 | createMainWindow();
360 | });
361 | app.on('window-all-closed', function(){
362 | if(process.platform!=='darwin'){
363 | app.quit();
364 | }
365 | });
366 | app.on('activate', function(){
367 | createMainWindow();
368 | });
369 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "lazytype",
3 | "version": "1.0.1",
4 | "description": "A Software to create aliases for commands, applications to type in cmd, terminal.",
5 | "main": "main.js",
6 | "scripts": {
7 | "start": "electron .",
8 | "build64": "electron-packager . LazyType --overwrite --asar=true --platform=win32 --arch=x64 --icon=icons/win/app.ico --prune=true --out=release-builds --version-string.CompanyName=NGUdbhav --version-string.FileDescription=Application --version-string.ProductName=\"LazyType\" && g++ config.cpp -o release-builds\\LazyType-win32-x64\\ConfigUtility.exe resource.res && copy SetEnv.exe release-builds\\LazyType-win32-x64",
9 | "build32": "electron-packager . LazyType --overwrite --asar=true --platform=win32 --arch=ia32 --icon=icons/win/app.ico --prune=true --out=release-builds --version-string.CompanyName=NGUdbhav --version-string.FileDescription=Application --version-string.ProductName=\"LazyType\" && g++ config.cpp -o release-builds\\LazyType-win32-ia32\\ConfigUtility.exe resource.res && copy SetEnv.exe release-builds\\LazyType-win32-ia32",
10 | "test": "g++ config.cpp -o ConfigUtility.exe resource.res && mocha"
11 | },
12 | "repository": {
13 | "type": "git",
14 | "url": "git+https://github.com/ngudbhav/lazyType.git"
15 | },
16 | "author": "Udbhav Gambhir (https://www.ngudbhav.me)",
17 | "license": "MIT",
18 | "bugs": {
19 | "url": "https://github.com/ngudbhav/lazyType/issues"
20 | },
21 | "homepage": "https://github.com/ngudbhav/lazyType#readme",
22 | "dependencies": {
23 | "custom-electron-titlebar": "^3.1.0",
24 | "jquery": "^3.4.1",
25 | "materialize-css": "^1.0.0-rc.2",
26 | "nedb": "^1.8.0",
27 | "request": "^2.88.0",
28 | "sudo-prompt": "^9.0.0"
29 | },
30 | "devDependencies": {
31 | "electron": "^6.0.9",
32 | "mocha": "^6.2.1",
33 | "spectron": "^8.0.0"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/renderer.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/renderer.js
--------------------------------------------------------------------------------
/resource.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/resource.res
--------------------------------------------------------------------------------
/static/css/font.css:
--------------------------------------------------------------------------------
1 | .fa,.fab,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{animation:fa-spin 2s infinite linear}.fa-pulse{animation:fa-spin 1s infinite steps(8)}@keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";transform:scaleX(-1)}.fa-flip-vertical{transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-acquisitions-incorporated:before{content:"\f6af"}.fa-ad:before{content:"\f641"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adobe:before{content:"\f778"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-air-freshener:before{content:"\f5d0"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-alipay:before{content:"\f642"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angry:before{content:"\f556"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-ankh:before{content:"\f644"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-alt:before{content:"\f5d1"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-archway:before{content:"\f557"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-artstation:before{content:"\f77a"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-atlas:before{content:"\f558"}.fa-atlassian:before{content:"\f77b"}.fa-atom:before{content:"\f5d2"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-award:before{content:"\f559"}.fa-aws:before{content:"\f375"}.fa-baby:before{content:"\f77c"}.fa-baby-carriage:before{content:"\f77d"}.fa-backspace:before{content:"\f55a"}.fa-backward:before{content:"\f04a"}.fa-bacon:before{content:"\f7e5"}.fa-balance-scale:before{content:"\f24e"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.fa-bath:before{content:"\f2cd"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-three-quarters:before{content:"\f241"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bezier-curve:before{content:"\f55b"}.fa-bible:before{content:"\f647"}.fa-bicycle:before{content:"\f206"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-biohazard:before{content:"\f780"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blender:before{content:"\f517"}.fa-blender-phone:before{content:"\f6b6"}.fa-blind:before{content:"\f29d"}.fa-blog:before{content:"\f781"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-bone:before{content:"\f5d7"}.fa-bong:before{content:"\f55c"}.fa-book:before{content:"\f02d"}.fa-book-dead:before{content:"\f6b7"}.fa-book-medical:before{content:"\f7e6"}.fa-book-open:before{content:"\f518"}.fa-book-reader:before{content:"\f5da"}.fa-bookmark:before{content:"\f02e"}.fa-bowling-ball:before{content:"\f436"}.fa-box:before{content:"\f466"}.fa-box-open:before{content:"\f49e"}.fa-boxes:before{content:"\f468"}.fa-braille:before{content:"\f2a1"}.fa-brain:before{content:"\f5dc"}.fa-bread-slice:before{content:"\f7ec"}.fa-briefcase:before{content:"\f0b1"}.fa-briefcase-medical:before{content:"\f469"}.fa-broadcast-tower:before{content:"\f519"}.fa-broom:before{content:"\f51a"}.fa-brush:before{content:"\f55d"}.fa-btc:before{content:"\f15a"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-burn:before{content:"\f46a"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-bus-alt:before{content:"\f55e"}.fa-business-time:before{content:"\f64a"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-day:before{content:"\f783"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-calendar-week:before{content:"\f784"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-campground:before{content:"\f6bb"}.fa-canadian-maple-leaf:before{content:"\f785"}.fa-candy-cane:before{content:"\f786"}.fa-cannabis:before{content:"\f55f"}.fa-capsules:before{content:"\f46b"}.fa-car:before{content:"\f1b9"}.fa-car-alt:before{content:"\f5de"}.fa-car-battery:before{content:"\f5df"}.fa-car-crash:before{content:"\f5e1"}.fa-car-side:before{content:"\f5e4"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-carrot:before{content:"\f787"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cash-register:before{content:"\f788"}.fa-cat:before{content:"\f6be"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-centos:before{content:"\f789"}.fa-certificate:before{content:"\f0a3"}.fa-chair:before{content:"\f6c0"}.fa-chalkboard:before{content:"\f51b"}.fa-chalkboard-teacher:before{content:"\f51c"}.fa-charging-station:before{content:"\f5e7"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-double:before{content:"\f560"}.fa-check-square:before{content:"\f14a"}.fa-cheese:before{content:"\f7ef"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-board:before{content:"\f43c"}.fa-chess-king:before{content:"\f43f"}.fa-chess-knight:before{content:"\f441"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-queen:before{content:"\f445"}.fa-chess-rook:before{content:"\f447"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-church:before{content:"\f51d"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-city:before{content:"\f64f"}.fa-clinic-medical:before{content:"\f7f2"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-meatball:before{content:"\f73b"}.fa-cloud-moon:before{content:"\f6c3"}.fa-cloud-moon-rain:before{content:"\f73c"}.fa-cloud-rain:before{content:"\f73d"}.fa-cloud-showers-heavy:before{content:"\f740"}.fa-cloud-sun:before{content:"\f6c4"}.fa-cloud-sun-rain:before{content:"\f743"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-cocktail:before{content:"\f561"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-coins:before{content:"\f51e"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comment-dollar:before{content:"\f651"}.fa-comment-dots:before{content:"\f4ad"}.fa-comment-medical:before{content:"\f7f5"}.fa-comment-slash:before{content:"\f4b3"}.fa-comments:before{content:"\f086"}.fa-comments-dollar:before{content:"\f653"}.fa-compact-disc:before{content:"\f51f"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-compress-arrows-alt:before{content:"\f78c"}.fa-concierge-bell:before{content:"\f562"}.fa-confluence:before{content:"\f78d"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-cookie:before{content:"\f563"}.fa-cookie-bite:before{content:"\f564"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-couch:before{content:"\f4b8"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-creative-commons-zero:before{content:"\f4f3"}.fa-credit-card:before{content:"\f09d"}.fa-critical-role:before{content:"\f6c9"}.fa-crop:before{content:"\f125"}.fa-crop-alt:before{content:"\f565"}.fa-cross:before{content:"\f654"}.fa-crosshairs:before{content:"\f05b"}.fa-crow:before{content:"\f520"}.fa-crown:before{content:"\f521"}.fa-crutch:before{content:"\f7f7"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-d-and-d-beyond:before{content:"\f6ca"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-delicious:before{content:"\f1a5"}.fa-democrat:before{content:"\f747"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-dev:before{content:"\f6cc"}.fa-deviantart:before{content:"\f1bd"}.fa-dharmachakra:before{content:"\f655"}.fa-dhl:before{content:"\f790"}.fa-diagnoses:before{content:"\f470"}.fa-diaspora:before{content:"\f791"}.fa-dice:before{content:"\f522"}.fa-dice-d20:before{content:"\f6cf"}.fa-dice-d6:before{content:"\f6d1"}.fa-dice-five:before{content:"\f523"}.fa-dice-four:before{content:"\f524"}.fa-dice-one:before{content:"\f525"}.fa-dice-six:before{content:"\f526"}.fa-dice-three:before{content:"\f527"}.fa-dice-two:before{content:"\f528"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-digital-tachograph:before{content:"\f566"}.fa-directions:before{content:"\f5eb"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-divide:before{content:"\f529"}.fa-dizzy:before{content:"\f567"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dog:before{content:"\f6d3"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-flatbed:before{content:"\f474"}.fa-donate:before{content:"\f4b9"}.fa-door-closed:before{content:"\f52a"}.fa-door-open:before{content:"\f52b"}.fa-dot-circle:before{content:"\f192"}.fa-dove:before{content:"\f4ba"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-drafting-compass:before{content:"\f568"}.fa-dragon:before{content:"\f6d5"}.fa-draw-polygon:before{content:"\f5ee"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drum:before{content:"\f569"}.fa-drum-steelpan:before{content:"\f56a"}.fa-drumstick-bite:before{content:"\f6d7"}.fa-drupal:before{content:"\f1a9"}.fa-dumbbell:before{content:"\f44b"}.fa-dumpster:before{content:"\f793"}.fa-dumpster-fire:before{content:"\f794"}.fa-dungeon:before{content:"\f6d9"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-ebay:before{content:"\f4f4"}.fa-edge:before{content:"\f282"}.fa-edit:before{content:"\f044"}.fa-egg:before{content:"\f7fb"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ello:before{content:"\f5f1"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-text:before{content:"\f658"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-equals:before{content:"\f52c"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-ethernet:before{content:"\f796"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fantasy-flight-games:before{content:"\f6dc"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-fax:before{content:"\f1ac"}.fa-feather:before{content:"\f52d"}.fa-feather-alt:before{content:"\f56b"}.fa-fedex:before{content:"\f797"}.fa-fedora:before{content:"\f798"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-figma:before{content:"\f799"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-code:before{content:"\f1c9"}.fa-file-contract:before{content:"\f56c"}.fa-file-csv:before{content:"\f6dd"}.fa-file-download:before{content:"\f56d"}.fa-file-excel:before{content:"\f1c3"}.fa-file-export:before{content:"\f56e"}.fa-file-image:before{content:"\f1c5"}.fa-file-import:before{content:"\f56f"}.fa-file-invoice:before{content:"\f570"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-file-medical:before{content:"\f477"}.fa-file-medical-alt:before{content:"\f478"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-prescription:before{content:"\f572"}.fa-file-signature:before{content:"\f573"}.fa-file-upload:before{content:"\f574"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-fill:before{content:"\f575"}.fa-fill-drip:before{content:"\f576"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fingerprint:before{content:"\f577"}.fa-fire:before{content:"\f06d"}.fa-fire-alt:before{content:"\f7e4"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-first-order-alt:before{content:"\f50a"}.fa-firstdraft:before{content:"\f3a1"}.fa-fish:before{content:"\f578"}.fa-fist-raised:before{content:"\f6de"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flag-usa:before{content:"\f74d"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-flushed:before{content:"\f579"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-minus:before{content:"\f65d"}.fa-folder-open:before{content:"\f07c"}.fa-folder-plus:before{content:"\f65e"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-font-awesome-logo-full:before{content:"\f4e6"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frog:before{content:"\f52e"}.fa-frown:before{content:"\f119"}.fa-frown-open:before{content:"\f57a"}.fa-fulcrum:before{content:"\f50b"}.fa-funnel-dollar:before{content:"\f662"}.fa-futbol:before{content:"\f1e3"}.fa-galactic-republic:before{content:"\f50c"}.fa-galactic-senate:before{content:"\f50d"}.fa-gamepad:before{content:"\f11b"}.fa-gas-pump:before{content:"\f52f"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-ghost:before{content:"\f6e2"}.fa-gift:before{content:"\f06b"}.fa-gifts:before{content:"\f79c"}.fa-git:before{content:"\f1d3"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-cheers:before{content:"\f79f"}.fa-glass-martini:before{content:"\f000"}.fa-glass-martini-alt:before{content:"\f57b"}.fa-glass-whiskey:before{content:"\f7a0"}.fa-glasses:before{content:"\f530"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-globe-africa:before{content:"\f57c"}.fa-globe-americas:before{content:"\f57d"}.fa-globe-asia:before{content:"\f57e"}.fa-globe-europe:before{content:"\f7a2"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-gopuram:before{content:"\f664"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-greater-than:before{content:"\f531"}.fa-greater-than-equal:before{content:"\f532"}.fa-grimace:before{content:"\f57f"}.fa-grin:before{content:"\f580"}.fa-grin-alt:before{content:"\f581"}.fa-grin-beam:before{content:"\f582"}.fa-grin-beam-sweat:before{content:"\f583"}.fa-grin-hearts:before{content:"\f584"}.fa-grin-squint:before{content:"\f585"}.fa-grin-squint-tears:before{content:"\f586"}.fa-grin-stars:before{content:"\f587"}.fa-grin-tears:before{content:"\f588"}.fa-grin-tongue:before{content:"\f589"}.fa-grin-tongue-squint:before{content:"\f58a"}.fa-grin-tongue-wink:before{content:"\f58b"}.fa-grin-wink:before{content:"\f58c"}.fa-grip-horizontal:before{content:"\f58d"}.fa-grip-lines:before{content:"\f7a4"}.fa-grip-lines-vertical:before{content:"\f7a5"}.fa-grip-vertical:before{content:"\f58e"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-guitar:before{content:"\f7a6"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hackerrank:before{content:"\f5f7"}.fa-hamburger:before{content:"\f805"}.fa-hammer:before{content:"\f6e3"}.fa-hamsa:before{content:"\f665"}.fa-hand-holding:before{content:"\f4bd"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-hand-holding-usd:before{content:"\f4c0"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-middle-finger:before{content:"\f806"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-spock:before{content:"\f259"}.fa-hands:before{content:"\f4c2"}.fa-hands-helping:before{content:"\f4c4"}.fa-handshake:before{content:"\f2b5"}.fa-hanukiah:before{content:"\f6e6"}.fa-hard-hat:before{content:"\f807"}.fa-hashtag:before{content:"\f292"}.fa-hat-wizard:before{content:"\f6e8"}.fa-haykal:before{content:"\f666"}.fa-hdd:before{content:"\f0a0"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-headphones-alt:before{content:"\f58f"}.fa-headset:before{content:"\f590"}.fa-heart:before{content:"\f004"}.fa-heart-broken:before{content:"\f7a9"}.fa-heartbeat:before{content:"\f21e"}.fa-helicopter:before{content:"\f533"}.fa-highlighter:before{content:"\f591"}.fa-hiking:before{content:"\f6ec"}.fa-hippo:before{content:"\f6ed"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hockey-puck:before{content:"\f453"}.fa-holly-berry:before{content:"\f7aa"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hornbill:before{content:"\f592"}.fa-horse:before{content:"\f6f0"}.fa-horse-head:before{content:"\f7ab"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-alt:before{content:"\f47d"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hot-tub:before{content:"\f593"}.fa-hotdog:before{content:"\f80f"}.fa-hotel:before{content:"\f594"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-house-damage:before{content:"\f6f1"}.fa-houzz:before{content:"\f27c"}.fa-hryvnia:before{content:"\f6f2"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-ice-cream:before{content:"\f810"}.fa-icicles:before{content:"\f7ad"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-alt:before{content:"\f47f"}.fa-igloo:before{content:"\f7ae"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-instagram:before{content:"\f16d"}.fa-intercom:before{content:"\f7af"}.fa-internet-explorer:before{content:"\f26b"}.fa-invision:before{content:"\f7b0"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-java:before{content:"\f4e4"}.fa-jedi:before{content:"\f669"}.fa-jedi-order:before{content:"\f50e"}.fa-jenkins:before{content:"\f3b6"}.fa-jira:before{content:"\f7b1"}.fa-joget:before{content:"\f3b7"}.fa-joint:before{content:"\f595"}.fa-joomla:before{content:"\f1aa"}.fa-journal-whills:before{content:"\f66a"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-kaaba:before{content:"\f66b"}.fa-kaggle:before{content:"\f5fa"}.fa-key:before{content:"\f084"}.fa-keybase:before{content:"\f4f5"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-khanda:before{content:"\f66d"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-kiss:before{content:"\f596"}.fa-kiss-beam:before{content:"\f597"}.fa-kiss-wink-heart:before{content:"\f598"}.fa-kiwi-bird:before{content:"\f535"}.fa-korvue:before{content:"\f42f"}.fa-landmark:before{content:"\f66f"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laptop-code:before{content:"\f5fc"}.fa-laptop-medical:before{content:"\f812"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-laugh:before{content:"\f599"}.fa-laugh-beam:before{content:"\f59a"}.fa-laugh-squint:before{content:"\f59b"}.fa-laugh-wink:before{content:"\f59c"}.fa-layer-group:before{content:"\f5fd"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-less-than:before{content:"\f536"}.fa-less-than-equal:before{content:"\f537"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-lock-open:before{content:"\f3c1"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-low-vision:before{content:"\f2a8"}.fa-luggage-cart:before{content:"\f59d"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mail-bulk:before{content:"\f674"}.fa-mailchimp:before{content:"\f59e"}.fa-male:before{content:"\f183"}.fa-mandalorian:before{content:"\f50f"}.fa-map:before{content:"\f279"}.fa-map-marked:before{content:"\f59f"}.fa-map-marked-alt:before{content:"\f5a0"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-markdown:before{content:"\f60f"}.fa-marker:before{content:"\f5a1"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mask:before{content:"\f6fa"}.fa-mastodon:before{content:"\f4f6"}.fa-maxcdn:before{content:"\f136"}.fa-medal:before{content:"\f5a2"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-megaport:before{content:"\f5a3"}.fa-meh:before{content:"\f11a"}.fa-meh-blank:before{content:"\f5a4"}.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-memory:before{content:"\f538"}.fa-mendeley:before{content:"\f7b3"}.fa-menorah:before{content:"\f676"}.fa-mercury:before{content:"\f223"}.fa-meteor:before{content:"\f753"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-alt:before{content:"\f3c9"}.fa-microphone-alt-slash:before{content:"\f539"}.fa-microphone-slash:before{content:"\f131"}.fa-microscope:before{content:"\f610"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mitten:before{content:"\f7b5"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill:before{content:"\f0d6"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-money-bill-wave:before{content:"\f53a"}.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-money-check:before{content:"\f53c"}.fa-money-check-alt:before{content:"\f53d"}.fa-monument:before{content:"\f5a6"}.fa-moon:before{content:"\f186"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-mosque:before{content:"\f678"}.fa-motorcycle:before{content:"\f21c"}.fa-mountain:before{content:"\f6fc"}.fa-mouse-pointer:before{content:"\f245"}.fa-mug-hot:before{content:"\f7b6"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neos:before{content:"\f612"}.fa-network-wired:before{content:"\f6ff"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nimblr:before{content:"\f5a8"}.fa-nintendo-switch:before{content:"\f418"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-not-equal:before{content:"\f53e"}.fa-notes-medical:before{content:"\f481"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-oil-can:before{content:"\f613"}.fa-old-republic:before{content:"\f510"}.fa-om:before{content:"\f679"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-osi:before{content:"\f41a"}.fa-otter:before{content:"\f700"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-pager:before{content:"\f815"}.fa-paint-brush:before{content:"\f1fc"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\f53f"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-parachute-box:before{content:"\f4cd"}.fa-paragraph:before{content:"\f1dd"}.fa-parking:before{content:"\f540"}.fa-passport:before{content:"\f5ab"}.fa-pastafarianism:before{content:"\f67b"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-peace:before{content:"\f67c"}.fa-pen:before{content:"\f304"}.fa-pen-alt:before{content:"\f305"}.fa-pen-fancy:before{content:"\f5ac"}.fa-pen-nib:before{content:"\f5ad"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-pencil-ruler:before{content:"\f5ae"}.fa-penny-arcade:before{content:"\f704"}.fa-people-carry:before{content:"\f4ce"}.fa-pepper-hot:before{content:"\f816"}.fa-percent:before{content:"\f295"}.fa-percentage:before{content:"\f541"}.fa-periscope:before{content:"\f3da"}.fa-person-booth:before{content:"\f756"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phoenix-squadron:before{content:"\f511"}.fa-phone:before{content:"\f095"}.fa-phone-slash:before{content:"\f3dd"}.fa-phone-square:before{content:"\f098"}.fa-phone-volume:before{content:"\f2a0"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-piggy-bank:before{content:"\f4d3"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-pizza-slice:before{content:"\f818"}.fa-place-of-worship:before{content:"\f67f"}.fa-plane:before{content:"\f072"}.fa-plane-arrival:before{content:"\f5af"}.fa-plane-departure:before{content:"\f5b0"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-poll:before{content:"\f681"}.fa-poll-h:before{content:"\f682"}.fa-poo:before{content:"\f2fe"}.fa-poo-storm:before{content:"\f75a"}.fa-poop:before{content:"\f619"}.fa-portrait:before{content:"\f3e0"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-pray:before{content:"\f683"}.fa-praying-hands:before{content:"\f684"}.fa-prescription:before{content:"\f5b1"}.fa-prescription-bottle:before{content:"\f485"}.fa-prescription-bottle-alt:before{content:"\f486"}.fa-print:before{content:"\f02f"}.fa-procedures:before{content:"\f487"}.fa-product-hunt:before{content:"\f288"}.fa-project-diagram:before{content:"\f542"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-quran:before{content:"\f687"}.fa-r-project:before{content:"\f4f7"}.fa-radiation:before{content:"\f7b9"}.fa-radiation-alt:before{content:"\f7ba"}.fa-rainbow:before{content:"\f75b"}.fa-random:before{content:"\f074"}.fa-raspberry-pi:before{content:"\f7bb"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-reacteurope:before{content:"\f75d"}.fa-readme:before{content:"\f4d5"}.fa-rebel:before{content:"\f1d0"}.fa-receipt:before{content:"\f543"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redhat:before{content:"\f7bc"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-republican:before{content:"\f75e"}.fa-researchgate:before{content:"\f4f8"}.fa-resolving:before{content:"\f3e7"}.fa-restroom:before{content:"\f7bd"}.fa-retweet:before{content:"\f079"}.fa-rev:before{content:"\f5b2"}.fa-ribbon:before{content:"\f4d6"}.fa-ring:before{content:"\f70b"}.fa-road:before{content:"\f018"}.fa-robot:before{content:"\f544"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-route:before{content:"\f4d7"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-ruler:before{content:"\f545"}.fa-ruler-combined:before{content:"\f546"}.fa-ruler-horizontal:before{content:"\f547"}.fa-ruler-vertical:before{content:"\f548"}.fa-running:before{content:"\f70c"}.fa-rupee-sign:before{content:"\f156"}.fa-sad-cry:before{content:"\f5b3"}.fa-sad-tear:before{content:"\f5b4"}.fa-safari:before{content:"\f267"}.fa-sass:before{content:"\f41e"}.fa-satellite:before{content:"\f7bf"}.fa-satellite-dish:before{content:"\f7c0"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-school:before{content:"\f549"}.fa-screwdriver:before{content:"\f54a"}.fa-scribd:before{content:"\f28a"}.fa-scroll:before{content:"\f70e"}.fa-sd-card:before{content:"\f7c2"}.fa-search:before{content:"\f002"}.fa-search-dollar:before{content:"\f688"}.fa-search-location:before{content:"\f689"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-seedling:before{content:"\f4d8"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-shapes:before{content:"\f61f"}.fa-share:before{content:"\f064"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield-alt:before{content:"\f3ed"}.fa-ship:before{content:"\f21a"}.fa-shipping-fast:before{content:"\f48b"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shoe-prints:before{content:"\f54b"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shopware:before{content:"\f5b5"}.fa-shower:before{content:"\f2cc"}.fa-shuttle-van:before{content:"\f5b6"}.fa-sign:before{content:"\f4d9"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-signature:before{content:"\f5b7"}.fa-sim-card:before{content:"\f7c4"}.fa-simplybuilt:before{content:"\f215"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-sith:before{content:"\f512"}.fa-skating:before{content:"\f7c5"}.fa-sketch:before{content:"\f7c6"}.fa-skiing:before{content:"\f7c9"}.fa-skiing-nordic:before{content:"\f7ca"}.fa-skull:before{content:"\f54c"}.fa-skull-crossbones:before{content:"\f714"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-slash:before{content:"\f715"}.fa-sleigh:before{content:"\f7cc"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-smile-beam:before{content:"\f5b8"}.fa-smile-wink:before{content:"\f4da"}.fa-smog:before{content:"\f75f"}.fa-smoking:before{content:"\f48d"}.fa-smoking-ban:before{content:"\f54d"}.fa-sms:before{content:"\f7cd"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowboarding:before{content:"\f7ce"}.fa-snowflake:before{content:"\f2dc"}.fa-snowman:before{content:"\f7d0"}.fa-snowplow:before{content:"\f7d2"}.fa-socks:before{content:"\f696"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-sourcetree:before{content:"\f7d3"}.fa-spa:before{content:"\f5bb"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-spider:before{content:"\f717"}.fa-spinner:before{content:"\f110"}.fa-splotch:before{content:"\f5bc"}.fa-spotify:before{content:"\f1bc"}.fa-spray-can:before{content:"\f5bd"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-square-root-alt:before{content:"\f698"}.fa-squarespace:before{content:"\f5be"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-stamp:before{content:"\f5bf"}.fa-star:before{content:"\f005"}.fa-star-and-crescent:before{content:"\f699"}.fa-star-half:before{content:"\f089"}.fa-star-half-alt:before{content:"\f5c0"}.fa-star-of-david:before{content:"\f69a"}.fa-star-of-life:before{content:"\f621"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-stopwatch:before{content:"\f2f2"}.fa-store:before{content:"\f54e"}.fa-store-alt:before{content:"\f54f"}.fa-strava:before{content:"\f428"}.fa-stream:before{content:"\f550"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-stripe-s:before{content:"\f42a"}.fa-stroopwafel:before{content:"\f551"}.fa-studiovinari:before{content:"\f3f8"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-subscript:before{content:"\f12c"}.fa-subway:before{content:"\f239"}.fa-suitcase:before{content:"\f0f2"}.fa-suitcase-rolling:before{content:"\f5c1"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-surprise:before{content:"\f5c2"}.fa-suse:before{content:"\f7d6"}.fa-swatchbook:before{content:"\f5c3"}.fa-swimmer:before{content:"\f5c4"}.fa-swimming-pool:before{content:"\f5c5"}.fa-synagogue:before{content:"\f69b"}.fa-sync:before{content:"\f021"}.fa-sync-alt:before{content:"\f2f1"}.fa-syringe:before{content:"\f48e"}.fa-table:before{content:"\f0ce"}.fa-table-tennis:before{content:"\f45d"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tablets:before{content:"\f490"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tape:before{content:"\f4db"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-teamspeak:before{content:"\f4f9"}.fa-teeth:before{content:"\f62e"}.fa-teeth-open:before{content:"\f62f"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-temperature-high:before{content:"\f769"}.fa-temperature-low:before{content:"\f76b"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-tenge:before{content:"\f7d7"}.fa-terminal:before{content:"\f120"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-th:before{content:"\f00a"}.fa-th-large:before{content:"\f009"}.fa-th-list:before{content:"\f00b"}.fa-the-red-yeti:before{content:"\f69d"}.fa-theater-masks:before{content:"\f630"}.fa-themeco:before{content:"\f5c6"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer:before{content:"\f491"}.fa-thermometer-empty:before{content:"\f2cb"}.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-think-peaks:before{content:"\f731"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbtack:before{content:"\f08d"}.fa-ticket-alt:before{content:"\f3ff"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-tint:before{content:"\f043"}.fa-tint-slash:before{content:"\f5c7"}.fa-tired:before{content:"\f5c8"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-toilet:before{content:"\f7d8"}.fa-toilet-paper:before{content:"\f71e"}.fa-toolbox:before{content:"\f552"}.fa-tools:before{content:"\f7d9"}.fa-tooth:before{content:"\f5c9"}.fa-torah:before{content:"\f6a0"}.fa-torii-gate:before{content:"\f6a1"}.fa-tractor:before{content:"\f722"}.fa-trade-federation:before{content:"\f513"}.fa-trademark:before{content:"\f25c"}.fa-traffic-light:before{content:"\f637"}.fa-train:before{content:"\f238"}.fa-tram:before{content:"\f7da"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-trash-restore:before{content:"\f829"}.fa-trash-restore-alt:before{content:"\f82a"}.fa-tree:before{content:"\f1bb"}.fa-trello:before{content:"\f181"}.fa-tripadvisor:before{content:"\f262"}.fa-trophy:before{content:"\f091"}.fa-truck:before{content:"\f0d1"}.fa-truck-loading:before{content:"\f4de"}.fa-truck-monster:before{content:"\f63b"}.fa-truck-moving:before{content:"\f4df"}.fa-truck-pickup:before{content:"\f63c"}.fa-tshirt:before{content:"\f553"}.fa-tty:before{content:"\f1e4"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26c"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-typo3:before{content:"\f42b"}.fa-uber:before{content:"\f402"}.fa-ubuntu:before{content:"\f7df"}.fa-uikit:before{content:"\f403"}.fa-umbrella:before{content:"\f0e9"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-undo-alt:before{content:"\f2ea"}.fa-uniregistry:before{content:"\f404"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlink:before{content:"\f127"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-untappd:before{content:"\f405"}.fa-upload:before{content:"\f093"}.fa-ups:before{content:"\f7e0"}.fa-usb:before{content:"\f287"}.fa-user:before{content:"\f007"}.fa-user-alt:before{content:"\f406"}.fa-user-alt-slash:before{content:"\f4fa"}.fa-user-astronaut:before{content:"\f4fb"}.fa-user-check:before{content:"\f4fc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-clock:before{content:"\f4fd"}.fa-user-cog:before{content:"\f4fe"}.fa-user-edit:before{content:"\f4ff"}.fa-user-friends:before{content:"\f500"}.fa-user-graduate:before{content:"\f501"}.fa-user-injured:before{content:"\f728"}.fa-user-lock:before{content:"\f502"}.fa-user-md:before{content:"\f0f0"}.fa-user-minus:before{content:"\f503"}.fa-user-ninja:before{content:"\f504"}.fa-user-nurse:before{content:"\f82f"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-shield:before{content:"\f505"}.fa-user-slash:before{content:"\f506"}.fa-user-tag:before{content:"\f507"}.fa-user-tie:before{content:"\f508"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-users-cog:before{content:"\f509"}.fa-usps:before{content:"\f7e1"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-vaadin:before{content:"\f408"}.fa-vector-square:before{content:"\f5cb"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-viacoin:before{content:"\f237"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-vial:before{content:"\f492"}.fa-vials:before{content:"\f493"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-video-slash:before{content:"\f4e2"}.fa-vihara:before{content:"\f6a7"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-volleyball-ball:before{content:"\f45f"}.fa-volume-down:before{content:"\f027"}.fa-volume-mute:before{content:"\f6a9"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vote-yea:before{content:"\f772"}.fa-vr-cardboard:before{content:"\f729"}.fa-vuejs:before{content:"\f41f"}.fa-walking:before{content:"\f554"}.fa-wallet:before{content:"\f555"}.fa-warehouse:before{content:"\f494"}.fa-water:before{content:"\f773"}.fa-weebly:before{content:"\f5cc"}.fa-weibo:before{content:"\f18a"}.fa-weight:before{content:"\f496"}.fa-weight-hanging:before{content:"\f5cd"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-whatsapp-square:before{content:"\f40c"}.fa-wheelchair:before{content:"\f193"}.fa-whmcs:before{content:"\f40d"}.fa-wifi:before{content:"\f1eb"}.fa-wikipedia-w:before{content:"\f266"}.fa-wind:before{content:"\f72e"}.fa-window-close:before{content:"\f410"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-windows:before{content:"\f17a"}.fa-wine-bottle:before{content:"\f72f"}.fa-wine-glass:before{content:"\f4e3"}.fa-wine-glass-alt:before{content:"\f5ce"}.fa-wix:before{content:"\f5cf"}.fa-wizards-of-the-coast:before{content:"\f730"}.fa-wolf-pack-battalion:before{content:"\f514"}.fa-won-sign:before{content:"\f159"}.fa-wordpress:before{content:"\f19a"}.fa-wordpress-simple:before{content:"\f411"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-wpressr:before{content:"\f3e4"}.fa-wrench:before{content:"\f0ad"}.fa-x-ray:before{content:"\f497"}.fa-xbox:before{content:"\f412"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-yahoo:before{content:"\f19e"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yarn:before{content:"\f7e3"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yin-yang:before{content:"\f6ad"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f431"}.fa-zhihu:before{content:"\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:normal;font-display:auto;src:url(../webfonts/fa-brands-400.eot);src:url(../webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.woff) format("woff"),url(../webfonts/fa-brands-400.ttf) format("truetype"),url(../webfonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:"Font Awesome 5 Brands"}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:auto;src:url(../webfonts/fa-regular-400.eot);src:url(../webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.woff) format("woff"),url(../webfonts/fa-regular-400.ttf) format("truetype"),url(../webfonts/fa-regular-400.svg#fontawesome) format("svg")}.far{font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:auto;src:url(../webfonts/fa-solid-900.eot);src:url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.woff) format("woff"),url(../webfonts/fa-solid-900.ttf) format("truetype"),url(../webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:"Font Awesome 5 Free"}.fa,.fas{font-weight:900}
--------------------------------------------------------------------------------
/static/css/style.css:
--------------------------------------------------------------------------------
1 | @font-face {
2 | font-family: 'Material Icons';
3 | font-style: normal;
4 | font-weight: 400;
5 | src: url('../font/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2') format('woff2');
6 | }
7 | .material-icons {
8 | font-family: 'Material Icons';
9 | font-weight: normal;
10 | font-style: normal;
11 | font-size: 24px;
12 | line-height: 1;
13 | letter-spacing: normal;
14 | text-transform: none;
15 | display: inline-block;
16 | white-space: nowrap;
17 | word-wrap: normal;
18 | direction: ltr;
19 | -webkit-font-feature-settings: 'liga';
20 | -webkit-font-smoothing: antialiased;
21 | }
22 |
23 | .header{
24 | margin-top:0;
25 | }
26 | .card{
27 | border-bottom: 2px solid #ff9800;
28 | text-align:left;
29 | margin-bottom:4%;
30 | }
31 | input{
32 | font-size: 24px !important;
33 | font-weight:300 !important;
34 | }
35 |
36 | input::placeholder {
37 | color: rgba(0,0,0,0.87);
38 | font-size: 24px;
39 | font-weight: 300;
40 | }
41 | .input-field input[type=text]:focus {
42 | border-bottom: 1px solid #ff9800 !important;
43 | box-shadow: 0 1px 0 0 #ff9800 !important;
44 | }
45 | input[type="text"][disabled] {
46 | color: rgba(0,0,0,0.87) !important;
47 | font-size: 24px !important;
48 | font-weight: 300 !important;
49 | }
50 | #sub, #sub:hover,#sub:active{
51 | background-color:#10b362;
52 | }
53 | #arrow{
54 | color: #ff9800;
55 | font-size:43px;
56 | }
57 | .file-field .btn{
58 | width:100%;
59 | font-size:20px;
60 | text-transform:inherit;
61 | background-color:#5a5a5a;
62 | }
63 | .delete-icon,.edit-icon,.submit-icon{
64 | font-size:35px;
65 | margin-top:10%;
66 | cursor:pointer;
67 | display: inline-block;
68 | vertical-align: middle;
69 | -webkit-transform: perspective(1px) translateZ(0);
70 | transform: perspective(1px) translateZ(0);
71 | box-shadow: 0 0 1px rgba(0, 0, 0, 0);
72 | -webkit-transition-duration: 0.3s;
73 | transition-duration: 0.3s;
74 | -webkit-transition-property: transform;
75 | transition-property: transform;
76 | }
77 | .submit-icon{
78 | color:#2dbe33;
79 | }
80 | .delete-icon{
81 | color:#ff2d2de6;
82 | }
83 | .edit-icon{
84 | color:#26a69a;
85 | }
86 | .edit-icon:hover,.delete-icon:hover,.submit-icon:hover{
87 | -webkit-transform: scale(1.2);
88 | transform: scale(1.2);
89 | }
90 | .hide{
91 | display: none;
92 | transition:all 10s ease !important;
93 | }
94 | #toast-container {
95 | top: auto !important;
96 | right: auto !important;
97 | bottom: 5%;
98 | left:5%;
99 | }
100 | .fixed-action-btn{
101 | top:10%;
102 | right:3%;
103 | position:fixed;
104 | }
105 | #card-body,.container{
106 | transition:all 1s ease !important;
107 | }
108 | .card{
109 | transition:all .3s ease;
110 | }
111 | .card:hover{
112 | box-shadow: 0 0px 8px 0 rgba(0,0,0,0.6);
113 | }
114 | .titlebar.light .window-controls-container .window-icon {
115 | background-color: #333333;
116 | }
117 | .window-title{
118 | color:White;
119 | text-transform:uppercase;
120 | font-weight:bold;
121 | letter-spacing:2px;
122 | padding-left:1%;
123 | }
124 | .material-tooltip{
125 | background-color:#ff9800;
126 | }
127 |
128 | .container-after-titlebar{
129 | overflow: scroll !important;
130 | }
131 |
132 |
133 |
--------------------------------------------------------------------------------
/static/font/Audiowide-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/Audiowide-Regular.ttf
--------------------------------------------------------------------------------
/static/font/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Bold.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Bold.eot
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Bold.ttf
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Bold.woff
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Bold.woff2
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Light.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Light.eot
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Light.ttf
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Light.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Light.woff
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Light.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Light.woff2
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Medium.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Medium.eot
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Medium.ttf
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Medium.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Medium.woff
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Medium.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Medium.woff2
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Regular.eot
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Regular.ttf
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Regular.woff
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Regular.woff2
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Thin.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Thin.eot
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Thin.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Thin.ttf
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Thin.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Thin.woff
--------------------------------------------------------------------------------
/static/font/roboto/Roboto-Thin.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/font/roboto/Roboto-Thin.woff2
--------------------------------------------------------------------------------
/static/images/ss1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ngudbhav/lazyType/d8d1bb56a7c9866f81763ca970f567807262dfdf/static/images/ss1.png
--------------------------------------------------------------------------------
/static/js/script.js:
--------------------------------------------------------------------------------
1 | var electron = require('electron');
2 | var { ipcRenderer } = electron;
3 | var countCards = 0;
4 | ipcRenderer.on('status', function(e, item){
5 | // item.status = 1 => Created new command
6 | // item.status = 2 => Deleted command
7 | // item.status = 3 => Updated new command
8 | // item.name is the name of the shortcut command
9 | switch(item.status){
10 | case 1: M.toast({html: 'Created Successfully  check_circle ',classes:'orange white-text left',displayLength:2000});
11 | break;
12 | case 2: M.toast({html: 'Deleted Successfully  check_circle ',classes:'orange white-text left',displayLength:2000});
13 | break;
14 | case 3:M.toast({html: 'Updated Successfully  check_circle ',classes:'orange white-text left',displayLength:2000});
15 | break;
16 | case 4:M.toast({html: 'No updates Available  check_circle ',classes:'orange white-text left',displayLength:2000});
17 | break;
18 | case 5: M.toast({ html: 'Connection Error  cancel ', classes: 'orange white-text left', displayLength: 2000 });
19 | break;
20 | case 6: M.toast({ html: 'Backup Created Successfully  cancel ', classes: 'orange white-text left', displayLength: 2000 });
21 | break;
22 | case 7: M.toast({ html: 'Loading ... ', classes: 'orange white-text left', displayLength: 2000 });
23 | break;
24 | }
25 | });
26 |
27 | var addCard = ` `;
65 |
66 | var cardHtml =
67 | ` `;
105 |
106 | ipcRenderer.on('history', function(e, item){
107 | console.log(item);
108 | var card = document.getElementById('cardBody');
109 | countCards = item.length;
110 | if(item.length == 0){
111 | var newHtml = addCard;
112 | newHtml = newHtml.replace(/%%id%%/gi, 1);
113 | card.innerHTML += newHtml;
114 | document.getElementsByClassName('extraText')[0].classList.remove('hide');
115 | document.getElementsByClassName('extraText')[1].classList.remove('hide');
116 |
117 | }
118 |
119 | for (let i = 0; i < item.length; i++) {
120 | var newHtml = cardHtml;
121 | newHtml = newHtml.replace(/%%id%%/gi, i+1);
122 | newHtml = newHtml.replace(/%%org_cmd%%/gi, item[i].path);
123 | newHtml = newHtml.replace(/%%short_cmd%%/gi, item[i].name);
124 |
125 | card.innerHTML += newHtml;
126 | }
127 | });
128 |
129 | function help(){
130 | ipcRenderer.send('help', 'null');
131 | M.toast({ html: 'Check your Browser  circle_check ', classes: 'orange white-text left', displayLength: 2000 });
132 | }
133 |
134 | function checkUpdates() {
135 | ipcRenderer.send('update', 'null');
136 | }
137 |
138 | function config(){
139 | ipcRenderer.send('config');
140 | }
141 |
142 | function backup(){
143 | ipcRenderer.send('backup');
144 | }
145 |
146 | function preSubmit(f, e){
147 | if(e.keyCode === 13){
148 | submitContents(f);
149 | }
150 | else{
151 | return false;
152 | }
153 | }
154 |
155 | function editContents(e){
156 | //ui update
157 | let p = $(e).parent();
158 | p.siblings('.file-field').removeClass('hide');
159 | p.siblings('.submit').removeClass('hide');
160 | p.siblings('.delete').addClass('hide');
161 | p.addClass('hide');
162 | p.siblings('.orgcmd').children()[0].removeAttribute('disabled');
163 | p.siblings('.shortcmd').children()[0].removeAttribute('disabled');
164 | }
165 |
166 | function submitContents(e){
167 | let p = $(e).parent();
168 | let orgcmd = p.siblings('.orgcmd').children().val();
169 | let shortcmd = p.siblings('.shortcmd').addBack().children().val();
170 |
171 | if(orgcmd && shortcmd){
172 | let inf = p.siblings('.filediv').children('.btn').children("input")[0];
173 | // //save and update in database
174 | let obj = {
175 | name: shortcmd,
176 | path: orgcmd,
177 | switch: inf.files.length === 0 ? 1 : 0
178 | };
179 | ipcRenderer.send('addItem', obj);
180 | p.siblings('.file-field').addClass('hide');
181 | if(p.siblings('.shortcmd').length == 0){
182 | p.siblings('.submit').addClass('hide');
183 | }
184 | else{
185 | p.siblings('.submit').addBack().addClass('hide');
186 | }
187 | p.siblings('.delete').removeClass('hide');
188 | p.siblings('.edit').removeClass('hide');
189 | p.siblings('.orgcmd').children()[0].setAttribute('disabled', 'disabled');
190 | p.siblings('.shortcmd').addBack().children()[0].setAttribute('disabled', 'disabled');
191 | p.siblings('.orgcmd').children().val(orgcmd);
192 | p.siblings('.shortcmd').addBack().children().val(shortcmd);
193 | countCards++;
194 | }
195 | else{
196 | M.toast({ html: 'Incomplete Details  cancel ', classes: 'orange white-text left', displayLength: 2000 });
197 | }
198 | }
199 |
200 | function deleteContents(e){
201 | let sure = confirm('Are you sure you want to delete shortcut ?');
202 | if(sure){
203 | let p = $(e).parent();
204 | //delete from db
205 | ipcRenderer.send('deleteItem', { name: p.siblings('.shortcmd').children().val()});
206 | //ui update
207 | p.parents('.card').parent().remove();
208 | }
209 |
210 | }
211 |
212 | function fileNameUpdate(e){
213 | let p = $(e).parents('.filediv');
214 | p.siblings('.orgcmd').children().val($(e)[0].files[0].path)
215 | }
216 |
217 | function addNewCard(){
218 | if(countCards > 0){
219 | var card = document.getElementById('cardBody');
220 | var newHtml = addCard;
221 | newHtml = newHtml.replace(/%%id%%/gi, countCards);
222 | card.innerHTML = newHtml + card.innerHTML;
223 | }
224 | }
225 |
226 | function hideCards(){
227 | var cards = document.getElementsByClassName('card');
228 | for(var i=0;i< cards.length;i++)cards[i].classList.add('hide');
229 | }
230 | function showCards(){
231 | var cards = document.getElementsByClassName('card');
232 | var search_text = document.getElementById("search");
233 | search_text.value = "";
234 | for(var i=0;i< cards.length;i++)cards[i].classList.remove('hide');
235 | }
236 | function searchCards(){
237 | var cards = document.getElementsByClassName('card');
238 | var short = document.getElementsByClassName('shortcut_cmd');
239 | var org = document.getElementsByClassName('original_cmd');
240 | var search_text = document.getElementById("search").value;
241 |
242 | for(var i=0;i
2 |
3 |
4 |
5 |
6 | Lazy Type
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
49 |
50 |
51 |
52 |
57 |
58 |
59 |
64 |
65 |
66 |
67 |
68 |
69 |
--------------------------------------------------------------------------------
/x64.nsi:
--------------------------------------------------------------------------------
1 | ; Script generated by the HM NIS Edit Script Wizard.
2 |
3 | ; HM NIS Edit Wizard helper defines
4 | !define PRODUCT_NAME "LazyType"
5 | !define PRODUCT_VERSION "1.0.1"
6 | !define PRODUCT_PUBLISHER "NGUdbhav"
7 | !define PRODUCT_WEB_SITE "https://github.com/ngudbhav/lazyType"
8 | !define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\LazyType.exe"
9 | !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
10 | !define PRODUCT_UNINST_ROOT_KEY "HKLM"
11 |
12 | SetCompressor lzma
13 |
14 | ; MUI 1.67 compatible ------
15 | !include "MUI.nsh"
16 |
17 | ; MUI Settings
18 | !define MUI_ABORTWARNING
19 | !define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
20 | !define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
21 |
22 | ; Welcome page
23 | !insertmacro MUI_PAGE_WELCOME
24 | ; Directory page
25 | !insertmacro MUI_PAGE_DIRECTORY
26 | ; Instfiles page
27 | !insertmacro MUI_PAGE_INSTFILES
28 | ; Finish page
29 | !define MUI_FINISHPAGE_RUN "$INSTDIR\LazyType.exe"
30 | !insertmacro MUI_PAGE_FINISH
31 |
32 | ; Uninstaller pages
33 | !insertmacro MUI_UNPAGE_INSTFILES
34 |
35 | ; Language files
36 | !insertmacro MUI_LANGUAGE "English"
37 |
38 | ; Reserve files
39 | !insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
40 |
41 | ; MUI end ------
42 |
43 | Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
44 | OutFile "Setupx64.exe"
45 | InstallDir "$PROGRAMFILES\LazyType"
46 | InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
47 | ShowInstDetails show
48 | ShowUnInstDetails show
49 |
50 | Section "MainSection" SEC01
51 | SetOutPath "$INSTDIR"
52 | SetOverwrite try
53 | File "release-builds\LazyType-win32-x64\chrome_100_percent.pak"
54 | File "release-builds\LazyType-win32-x64\chrome_200_percent.pak"
55 | File "release-builds\LazyType-win32-x64\ConfigUtility.exe"
56 | File "release-builds\LazyType-win32-x64\d3dcompiler_47.dll"
57 | File "release-builds\LazyType-win32-x64\ffmpeg.dll"
58 | File "release-builds\LazyType-win32-x64\icudtl.dat"
59 | File "release-builds\LazyType-win32-x64\LazyType.exe"
60 | CreateDirectory "$SMPROGRAMS\LazyType"
61 | CreateShortCut "$SMPROGRAMS\LazyType\LazyType.lnk" "$INSTDIR\LazyType.exe"
62 | WinShell::SetLnkAUMI "$SMPROGRAMS\LazyType\LazyType.lnk" "NGUdbhav.lazy"
63 | CreateShortCut "$DESKTOP\LazyType.lnk" "$INSTDIR\LazyType.exe"
64 | WinShell::SetLnkAUMI "$DESKTOP\LazyType.lnk" "NGUdbhav.lazy"
65 | File "release-builds\LazyType-win32-x64\libEGL.dll"
66 | File "release-builds\LazyType-win32-x64\libGLESv2.dll"
67 | File "release-builds\LazyType-win32-x64\LICENSE"
68 | File "release-builds\LazyType-win32-x64\LICENSES.chromium.html"
69 | SetOutPath "$INSTDIR\locales"
70 | File "release-builds\LazyType-win32-x64\locales\am.pak"
71 | File "release-builds\LazyType-win32-x64\locales\ar.pak"
72 | File "release-builds\LazyType-win32-x64\locales\bg.pak"
73 | File "release-builds\LazyType-win32-x64\locales\bn.pak"
74 | File "release-builds\LazyType-win32-x64\locales\ca.pak"
75 | File "release-builds\LazyType-win32-x64\locales\cs.pak"
76 | File "release-builds\LazyType-win32-x64\locales\da.pak"
77 | File "release-builds\LazyType-win32-x64\locales\de.pak"
78 | File "release-builds\LazyType-win32-x64\locales\el.pak"
79 | File "release-builds\LazyType-win32-x64\locales\en-GB.pak"
80 | File "release-builds\LazyType-win32-x64\locales\en-US.pak"
81 | File "release-builds\LazyType-win32-x64\locales\es-419.pak"
82 | File "release-builds\LazyType-win32-x64\locales\es.pak"
83 | File "release-builds\LazyType-win32-x64\locales\et.pak"
84 | File "release-builds\LazyType-win32-x64\locales\fa.pak"
85 | File "release-builds\LazyType-win32-x64\locales\fi.pak"
86 | File "release-builds\LazyType-win32-x64\locales\fil.pak"
87 | File "release-builds\LazyType-win32-x64\locales\fr.pak"
88 | File "release-builds\LazyType-win32-x64\locales\gu.pak"
89 | File "release-builds\LazyType-win32-x64\locales\he.pak"
90 | File "release-builds\LazyType-win32-x64\locales\hi.pak"
91 | File "release-builds\LazyType-win32-x64\locales\hr.pak"
92 | File "release-builds\LazyType-win32-x64\locales\hu.pak"
93 | File "release-builds\LazyType-win32-x64\locales\id.pak"
94 | File "release-builds\LazyType-win32-x64\locales\it.pak"
95 | File "release-builds\LazyType-win32-x64\locales\ja.pak"
96 | File "release-builds\LazyType-win32-x64\locales\kn.pak"
97 | File "release-builds\LazyType-win32-x64\locales\ko.pak"
98 | File "release-builds\LazyType-win32-x64\locales\lt.pak"
99 | File "release-builds\LazyType-win32-x64\locales\lv.pak"
100 | File "release-builds\LazyType-win32-x64\locales\ml.pak"
101 | File "release-builds\LazyType-win32-x64\locales\mr.pak"
102 | File "release-builds\LazyType-win32-x64\locales\ms.pak"
103 | File "release-builds\LazyType-win32-x64\locales\nb.pak"
104 | File "release-builds\LazyType-win32-x64\locales\nl.pak"
105 | File "release-builds\LazyType-win32-x64\locales\pl.pak"
106 | File "release-builds\LazyType-win32-x64\locales\pt-BR.pak"
107 | File "release-builds\LazyType-win32-x64\locales\pt-PT.pak"
108 | File "release-builds\LazyType-win32-x64\locales\ro.pak"
109 | File "release-builds\LazyType-win32-x64\locales\ru.pak"
110 | File "release-builds\LazyType-win32-x64\locales\sk.pak"
111 | File "release-builds\LazyType-win32-x64\locales\sl.pak"
112 | File "release-builds\LazyType-win32-x64\locales\sr.pak"
113 | File "release-builds\LazyType-win32-x64\locales\sv.pak"
114 | File "release-builds\LazyType-win32-x64\locales\sw.pak"
115 | File "release-builds\LazyType-win32-x64\locales\ta.pak"
116 | File "release-builds\LazyType-win32-x64\locales\te.pak"
117 | File "release-builds\LazyType-win32-x64\locales\th.pak"
118 | File "release-builds\LazyType-win32-x64\locales\tr.pak"
119 | File "release-builds\LazyType-win32-x64\locales\uk.pak"
120 | File "release-builds\LazyType-win32-x64\locales\vi.pak"
121 | File "release-builds\LazyType-win32-x64\locales\zh-CN.pak"
122 | File "release-builds\LazyType-win32-x64\locales\zh-TW.pak"
123 | SetOutPath "$INSTDIR"
124 | File "release-builds\LazyType-win32-x64\natives_blob.bin"
125 | SetOutPath "$INSTDIR\resources"
126 | File "release-builds\LazyType-win32-x64\resources\app.asar"
127 | File "release-builds\LazyType-win32-x64\resources\electron.asar"
128 | SetOutPath "$INSTDIR"
129 | File "release-builds\LazyType-win32-x64\resources.pak"
130 | File "release-builds\LazyType-win32-x64\SetEnv.exe"
131 | File "release-builds\LazyType-win32-x64\snapshot_blob.bin"
132 | SetOutPath "$INSTDIR\swiftshader"
133 | File "release-builds\LazyType-win32-x64\swiftshader\libEGL.dll"
134 | File "release-builds\LazyType-win32-x64\swiftshader\libGLESv2.dll"
135 | SetOutPath "$INSTDIR"
136 | File "release-builds\LazyType-win32-x64\v8_context_snapshot.bin"
137 | File "release-builds\LazyType-win32-x64\version"
138 | SectionEnd
139 |
140 | Section Plugin
141 | ApplicationID::Set "$SMPROGRAMS\$StartMenuFolder\${PRODUCT_NAME}.lnk" "NGUdbhav.lazy"
142 | SectionEnd
143 |
144 | Section -AdditionalIcons
145 | CreateShortCut "$SMPROGRAMS\LazyType\Uninstall.lnk" "$INSTDIR\uninst.exe"
146 | SectionEnd
147 |
148 | Section -Post
149 | WriteUninstaller "$INSTDIR\uninst.exe"
150 | WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\LazyType.exe"
151 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
152 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
153 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\LazyType.exe"
154 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
155 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
156 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
157 | SectionEnd
158 |
159 |
160 | Function un.onUninstSuccess
161 | HideWindow
162 | MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer."
163 | FunctionEnd
164 |
165 | Function un.onInit
166 | MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" IDYES +2
167 | Abort
168 | FunctionEnd
169 |
170 | Section Uninstall
171 | Delete "$INSTDIR\uninst.exe"
172 | Delete "$INSTDIR\version"
173 | Delete "$INSTDIR\v8_context_snapshot.bin"
174 | Delete "$INSTDIR\swiftshader\libGLESv2.dll"
175 | Delete "$INSTDIR\swiftshader\libEGL.dll"
176 | Delete "$INSTDIR\snapshot_blob.bin"
177 | Delete "$INSTDIR\SetEnv.exe"
178 | Delete "$INSTDIR\resources.pak"
179 | Delete "$INSTDIR\resources\electron.asar"
180 | Delete "$INSTDIR\resources\app.asar"
181 | Delete "$INSTDIR\natives_blob.bin"
182 | Delete "$INSTDIR\locales\zh-TW.pak"
183 | Delete "$INSTDIR\locales\zh-CN.pak"
184 | Delete "$INSTDIR\locales\vi.pak"
185 | Delete "$INSTDIR\locales\uk.pak"
186 | Delete "$INSTDIR\locales\tr.pak"
187 | Delete "$INSTDIR\locales\th.pak"
188 | Delete "$INSTDIR\locales\te.pak"
189 | Delete "$INSTDIR\locales\ta.pak"
190 | Delete "$INSTDIR\locales\sw.pak"
191 | Delete "$INSTDIR\locales\sv.pak"
192 | Delete "$INSTDIR\locales\sr.pak"
193 | Delete "$INSTDIR\locales\sl.pak"
194 | Delete "$INSTDIR\locales\sk.pak"
195 | Delete "$INSTDIR\locales\ru.pak"
196 | Delete "$INSTDIR\locales\ro.pak"
197 | Delete "$INSTDIR\locales\pt-PT.pak"
198 | Delete "$INSTDIR\locales\pt-BR.pak"
199 | Delete "$INSTDIR\locales\pl.pak"
200 | Delete "$INSTDIR\locales\nl.pak"
201 | Delete "$INSTDIR\locales\nb.pak"
202 | Delete "$INSTDIR\locales\ms.pak"
203 | Delete "$INSTDIR\locales\mr.pak"
204 | Delete "$INSTDIR\locales\ml.pak"
205 | Delete "$INSTDIR\locales\lv.pak"
206 | Delete "$INSTDIR\locales\lt.pak"
207 | Delete "$INSTDIR\locales\ko.pak"
208 | Delete "$INSTDIR\locales\kn.pak"
209 | Delete "$INSTDIR\locales\ja.pak"
210 | Delete "$INSTDIR\locales\it.pak"
211 | Delete "$INSTDIR\locales\id.pak"
212 | Delete "$INSTDIR\locales\hu.pak"
213 | Delete "$INSTDIR\locales\hr.pak"
214 | Delete "$INSTDIR\locales\hi.pak"
215 | Delete "$INSTDIR\locales\he.pak"
216 | Delete "$INSTDIR\locales\gu.pak"
217 | Delete "$INSTDIR\locales\fr.pak"
218 | Delete "$INSTDIR\locales\fil.pak"
219 | Delete "$INSTDIR\locales\fi.pak"
220 | Delete "$INSTDIR\locales\fa.pak"
221 | Delete "$INSTDIR\locales\et.pak"
222 | Delete "$INSTDIR\locales\es.pak"
223 | Delete "$INSTDIR\locales\es-419.pak"
224 | Delete "$INSTDIR\locales\en-US.pak"
225 | Delete "$INSTDIR\locales\en-GB.pak"
226 | Delete "$INSTDIR\locales\el.pak"
227 | Delete "$INSTDIR\locales\de.pak"
228 | Delete "$INSTDIR\locales\da.pak"
229 | Delete "$INSTDIR\locales\cs.pak"
230 | Delete "$INSTDIR\locales\ca.pak"
231 | Delete "$INSTDIR\locales\bn.pak"
232 | Delete "$INSTDIR\locales\bg.pak"
233 | Delete "$INSTDIR\locales\ar.pak"
234 | Delete "$INSTDIR\locales\am.pak"
235 | Delete "$INSTDIR\LICENSES.chromium.html"
236 | Delete "$INSTDIR\LICENSE"
237 | Delete "$INSTDIR\libGLESv2.dll"
238 | Delete "$INSTDIR\libEGL.dll"
239 | Delete "$INSTDIR\LazyType.exe"
240 | Delete "$INSTDIR\icudtl.dat"
241 | Delete "$INSTDIR\ffmpeg.dll"
242 | Delete "$INSTDIR\d3dcompiler_47.dll"
243 | Delete "$INSTDIR\ConfigUtility.exe"
244 | Delete "$INSTDIR\chrome_200_percent.pak"
245 | Delete "$INSTDIR\chrome_100_percent.pak"
246 |
247 | Delete "$SMPROGRAMS\LazyType\Uninstall.lnk"
248 | Delete "$DESKTOP\LazyType.lnk"
249 | Delete "$SMPROGRAMS\LazyType\LazyType.lnk"
250 |
251 | RMDir "$SMPROGRAMS\LazyType"
252 | RMDir "$INSTDIR\swiftshader"
253 | RMDir "$INSTDIR\resources"
254 | RMDir "$INSTDIR\locales"
255 | RMDir "$INSTDIR"
256 |
257 | DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
258 | DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
259 | SetAutoClose true
260 | SectionEnd
--------------------------------------------------------------------------------
/x86.nsi:
--------------------------------------------------------------------------------
1 | ; Script generated by the HM NIS Edit Script Wizard.
2 |
3 | ; HM NIS Edit Wizard helper defines
4 | !define PRODUCT_NAME "LazyType"
5 | !define PRODUCT_VERSION "1.0.1"
6 | !define PRODUCT_PUBLISHER "NGUdbhav"
7 | !define PRODUCT_WEB_SITE "https://github.com/ngudbhav/lazyType"
8 | !define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\ConfigUtility.exe"
9 | !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
10 | !define PRODUCT_UNINST_ROOT_KEY "HKLM"
11 |
12 | SetCompressor lzma
13 |
14 | ; MUI 1.67 compatible ------
15 | !include "MUI.nsh"
16 |
17 | ; MUI Settings
18 | !define MUI_ABORTWARNING
19 | !define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
20 | !define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
21 |
22 | ; Welcome page
23 | !insertmacro MUI_PAGE_WELCOME
24 | ; Directory page
25 | !insertmacro MUI_PAGE_DIRECTORY
26 | ; Instfiles page
27 | !insertmacro MUI_PAGE_INSTFILES
28 | ; Finish page
29 | !define MUI_FINISHPAGE_RUN "$INSTDIR\LazyType.exe"
30 | !insertmacro MUI_PAGE_FINISH
31 |
32 | ; Uninstaller pages
33 | !insertmacro MUI_UNPAGE_INSTFILES
34 |
35 | ; Language files
36 | !insertmacro MUI_LANGUAGE "English"
37 |
38 | ; Reserve files
39 | !insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
40 |
41 | ; MUI end ------
42 |
43 | Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
44 | OutFile "Setupx86.exe"
45 | InstallDir "$PROGRAMFILES\LazyType"
46 | InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
47 | ShowInstDetails show
48 | ShowUnInstDetails show
49 |
50 | Section "MainSection" SEC01
51 | SetOutPath "$INSTDIR"
52 | SetOverwrite try
53 | File "release-builds\LazyType-win32-ia32\chrome_100_percent.pak"
54 | File "release-builds\LazyType-win32-ia32\chrome_200_percent.pak"
55 | File "release-builds\LazyType-win32-ia32\ConfigUtility.exe"
56 | File "release-builds\LazyType-win32-ia32\d3dcompiler_47.dll"
57 | File "release-builds\LazyType-win32-ia32\ffmpeg.dll"
58 | File "release-builds\LazyType-win32-ia32\icudtl.dat"
59 | File "release-builds\LazyType-win32-ia32\LazyType.exe"
60 | CreateDirectory "$SMPROGRAMS\LazyType"
61 | CreateShortCut "$SMPROGRAMS\LazyType\LazyType.lnk" "$INSTDIR\LazyType.exe"
62 | CreateShortCut "$DESKTOP\LazyType.lnk" "$INSTDIR\LazyType.exe"
63 | File "release-builds\LazyType-win32-ia32\libEGL.dll"
64 | File "release-builds\LazyType-win32-ia32\libGLESv2.dll"
65 | File "release-builds\LazyType-win32-ia32\LICENSE"
66 | File "release-builds\LazyType-win32-ia32\LICENSES.chromium.html"
67 | SetOutPath "$INSTDIR\locales"
68 | File "release-builds\LazyType-win32-ia32\locales\am.pak"
69 | File "release-builds\LazyType-win32-ia32\locales\ar.pak"
70 | File "release-builds\LazyType-win32-ia32\locales\bg.pak"
71 | File "release-builds\LazyType-win32-ia32\locales\bn.pak"
72 | File "release-builds\LazyType-win32-ia32\locales\ca.pak"
73 | File "release-builds\LazyType-win32-ia32\locales\cs.pak"
74 | File "release-builds\LazyType-win32-ia32\locales\da.pak"
75 | File "release-builds\LazyType-win32-ia32\locales\de.pak"
76 | File "release-builds\LazyType-win32-ia32\locales\el.pak"
77 | File "release-builds\LazyType-win32-ia32\locales\en-GB.pak"
78 | File "release-builds\LazyType-win32-ia32\locales\en-US.pak"
79 | File "release-builds\LazyType-win32-ia32\locales\es-419.pak"
80 | File "release-builds\LazyType-win32-ia32\locales\es.pak"
81 | File "release-builds\LazyType-win32-ia32\locales\et.pak"
82 | File "release-builds\LazyType-win32-ia32\locales\fa.pak"
83 | File "release-builds\LazyType-win32-ia32\locales\fi.pak"
84 | File "release-builds\LazyType-win32-ia32\locales\fil.pak"
85 | File "release-builds\LazyType-win32-ia32\locales\fr.pak"
86 | File "release-builds\LazyType-win32-ia32\locales\gu.pak"
87 | File "release-builds\LazyType-win32-ia32\locales\he.pak"
88 | File "release-builds\LazyType-win32-ia32\locales\hi.pak"
89 | File "release-builds\LazyType-win32-ia32\locales\hr.pak"
90 | File "release-builds\LazyType-win32-ia32\locales\hu.pak"
91 | File "release-builds\LazyType-win32-ia32\locales\id.pak"
92 | File "release-builds\LazyType-win32-ia32\locales\it.pak"
93 | File "release-builds\LazyType-win32-ia32\locales\ja.pak"
94 | File "release-builds\LazyType-win32-ia32\locales\kn.pak"
95 | File "release-builds\LazyType-win32-ia32\locales\ko.pak"
96 | File "release-builds\LazyType-win32-ia32\locales\lt.pak"
97 | File "release-builds\LazyType-win32-ia32\locales\lv.pak"
98 | File "release-builds\LazyType-win32-ia32\locales\ml.pak"
99 | File "release-builds\LazyType-win32-ia32\locales\mr.pak"
100 | File "release-builds\LazyType-win32-ia32\locales\ms.pak"
101 | File "release-builds\LazyType-win32-ia32\locales\nb.pak"
102 | File "release-builds\LazyType-win32-ia32\locales\nl.pak"
103 | File "release-builds\LazyType-win32-ia32\locales\pl.pak"
104 | File "release-builds\LazyType-win32-ia32\locales\pt-BR.pak"
105 | File "release-builds\LazyType-win32-ia32\locales\pt-PT.pak"
106 | File "release-builds\LazyType-win32-ia32\locales\ro.pak"
107 | File "release-builds\LazyType-win32-ia32\locales\ru.pak"
108 | File "release-builds\LazyType-win32-ia32\locales\sk.pak"
109 | File "release-builds\LazyType-win32-ia32\locales\sl.pak"
110 | File "release-builds\LazyType-win32-ia32\locales\sr.pak"
111 | File "release-builds\LazyType-win32-ia32\locales\sv.pak"
112 | File "release-builds\LazyType-win32-ia32\locales\sw.pak"
113 | File "release-builds\LazyType-win32-ia32\locales\ta.pak"
114 | File "release-builds\LazyType-win32-ia32\locales\te.pak"
115 | File "release-builds\LazyType-win32-ia32\locales\th.pak"
116 | File "release-builds\LazyType-win32-ia32\locales\tr.pak"
117 | File "release-builds\LazyType-win32-ia32\locales\uk.pak"
118 | File "release-builds\LazyType-win32-ia32\locales\vi.pak"
119 | File "release-builds\LazyType-win32-ia32\locales\zh-CN.pak"
120 | File "release-builds\LazyType-win32-ia32\locales\zh-TW.pak"
121 | SetOutPath "$INSTDIR"
122 | File "release-builds\LazyType-win32-ia32\natives_blob.bin"
123 | SetOutPath "$INSTDIR\resources"
124 | File "release-builds\LazyType-win32-ia32\resources\app.asar"
125 | File "release-builds\LazyType-win32-ia32\resources\electron.asar"
126 | SetOutPath "$INSTDIR"
127 | File "release-builds\LazyType-win32-ia32\resources.pak"
128 | File "release-builds\LazyType-win32-ia32\SetEnv.exe"
129 | File "release-builds\LazyType-win32-ia32\snapshot_blob.bin"
130 | SetOutPath "$INSTDIR\swiftshader"
131 | File "release-builds\LazyType-win32-ia32\swiftshader\libEGL.dll"
132 | File "release-builds\LazyType-win32-ia32\swiftshader\libGLESv2.dll"
133 | SetOutPath "$INSTDIR"
134 | File "release-builds\LazyType-win32-ia32\v8_context_snapshot.bin"
135 | File "release-builds\LazyType-win32-ia32\version"
136 | SectionEnd
137 |
138 | Section -AdditionalIcons
139 | CreateShortCut "$SMPROGRAMS\LazyType\Uninstall.lnk" "$INSTDIR\uninst.exe"
140 | SectionEnd
141 |
142 | Section -Post
143 | WriteUninstaller "$INSTDIR\uninst.exe"
144 | WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\ConfigUtility.exe"
145 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
146 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
147 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\ConfigUtility.exe"
148 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
149 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
150 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
151 | SectionEnd
152 |
153 |
154 | Function un.onUninstSuccess
155 | HideWindow
156 | MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer."
157 | FunctionEnd
158 |
159 | Function un.onInit
160 | MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" IDYES +2
161 | Abort
162 | FunctionEnd
163 |
164 | Section Uninstall
165 | Delete "$INSTDIR\uninst.exe"
166 | Delete "$INSTDIR\version"
167 | Delete "$INSTDIR\v8_context_snapshot.bin"
168 | Delete "$INSTDIR\swiftshader\libGLESv2.dll"
169 | Delete "$INSTDIR\swiftshader\libEGL.dll"
170 | Delete "$INSTDIR\snapshot_blob.bin"
171 | Delete "$INSTDIR\SetEnv.exe"
172 | Delete "$INSTDIR\resources.pak"
173 | Delete "$INSTDIR\resources\electron.asar"
174 | Delete "$INSTDIR\resources\app.asar"
175 | Delete "$INSTDIR\natives_blob.bin"
176 | Delete "$INSTDIR\locales\zh-TW.pak"
177 | Delete "$INSTDIR\locales\zh-CN.pak"
178 | Delete "$INSTDIR\locales\vi.pak"
179 | Delete "$INSTDIR\locales\uk.pak"
180 | Delete "$INSTDIR\locales\tr.pak"
181 | Delete "$INSTDIR\locales\th.pak"
182 | Delete "$INSTDIR\locales\te.pak"
183 | Delete "$INSTDIR\locales\ta.pak"
184 | Delete "$INSTDIR\locales\sw.pak"
185 | Delete "$INSTDIR\locales\sv.pak"
186 | Delete "$INSTDIR\locales\sr.pak"
187 | Delete "$INSTDIR\locales\sl.pak"
188 | Delete "$INSTDIR\locales\sk.pak"
189 | Delete "$INSTDIR\locales\ru.pak"
190 | Delete "$INSTDIR\locales\ro.pak"
191 | Delete "$INSTDIR\locales\pt-PT.pak"
192 | Delete "$INSTDIR\locales\pt-BR.pak"
193 | Delete "$INSTDIR\locales\pl.pak"
194 | Delete "$INSTDIR\locales\nl.pak"
195 | Delete "$INSTDIR\locales\nb.pak"
196 | Delete "$INSTDIR\locales\ms.pak"
197 | Delete "$INSTDIR\locales\mr.pak"
198 | Delete "$INSTDIR\locales\ml.pak"
199 | Delete "$INSTDIR\locales\lv.pak"
200 | Delete "$INSTDIR\locales\lt.pak"
201 | Delete "$INSTDIR\locales\ko.pak"
202 | Delete "$INSTDIR\locales\kn.pak"
203 | Delete "$INSTDIR\locales\ja.pak"
204 | Delete "$INSTDIR\locales\it.pak"
205 | Delete "$INSTDIR\locales\id.pak"
206 | Delete "$INSTDIR\locales\hu.pak"
207 | Delete "$INSTDIR\locales\hr.pak"
208 | Delete "$INSTDIR\locales\hi.pak"
209 | Delete "$INSTDIR\locales\he.pak"
210 | Delete "$INSTDIR\locales\gu.pak"
211 | Delete "$INSTDIR\locales\fr.pak"
212 | Delete "$INSTDIR\locales\fil.pak"
213 | Delete "$INSTDIR\locales\fi.pak"
214 | Delete "$INSTDIR\locales\fa.pak"
215 | Delete "$INSTDIR\locales\et.pak"
216 | Delete "$INSTDIR\locales\es.pak"
217 | Delete "$INSTDIR\locales\es-419.pak"
218 | Delete "$INSTDIR\locales\en-US.pak"
219 | Delete "$INSTDIR\locales\en-GB.pak"
220 | Delete "$INSTDIR\locales\el.pak"
221 | Delete "$INSTDIR\locales\de.pak"
222 | Delete "$INSTDIR\locales\da.pak"
223 | Delete "$INSTDIR\locales\cs.pak"
224 | Delete "$INSTDIR\locales\ca.pak"
225 | Delete "$INSTDIR\locales\bn.pak"
226 | Delete "$INSTDIR\locales\bg.pak"
227 | Delete "$INSTDIR\locales\ar.pak"
228 | Delete "$INSTDIR\locales\am.pak"
229 | Delete "$INSTDIR\LICENSES.chromium.html"
230 | Delete "$INSTDIR\LICENSE"
231 | Delete "$INSTDIR\libGLESv2.dll"
232 | Delete "$INSTDIR\libEGL.dll"
233 | Delete "$INSTDIR\LazyType.exe"
234 | Delete "$INSTDIR\icudtl.dat"
235 | Delete "$INSTDIR\ffmpeg.dll"
236 | Delete "$INSTDIR\d3dcompiler_47.dll"
237 | Delete "$INSTDIR\ConfigUtility.exe"
238 | Delete "$INSTDIR\chrome_200_percent.pak"
239 | Delete "$INSTDIR\chrome_100_percent.pak"
240 |
241 | Delete "$SMPROGRAMS\LazyType\Uninstall.lnk"
242 | Delete "$DESKTOP\LazyType.lnk"
243 | Delete "$SMPROGRAMS\LazyType\LazyType.lnk"
244 |
245 | RMDir "$SMPROGRAMS\LazyType"
246 | RMDir "$INSTDIR\swiftshader"
247 | RMDir "$INSTDIR\resources"
248 | RMDir "$INSTDIR\locales"
249 | RMDir "$INSTDIR"
250 |
251 | DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
252 | DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
253 | SetAutoClose true
254 | SectionEnd
--------------------------------------------------------------------------------