-
Notifications
You must be signed in to change notification settings - Fork 4
/
issues.txt
67 lines (32 loc) · 3.1 KB
/
issues.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
issues (will be opened on github)
issue 1: Find .exe file in folder
Create a function inside "js/renderer.js" can takes a folder name as input, and returns the static path (C:/...) of the the .exe file present in it. You are told that the folder will always contain one and only one .exe file.
issue 2: space for showing the screenshot
Edit the <code>viewgames.css</code> and <code>viewgames.html</code> such that the viewgames.html is divided into two vertical parts. One contains the list of games as in the present code, and the other will have space for 1 screenshot of the game.
issue 3: show screenshot in alloted space
(linked to issue 2)
Create a function in <code>renderer.js</code> that takes as input the path of an image file and shows it as the screenshot of the present game.
issue 4: store screenshots in database
Edit the database.js such that now GamesDB.txt stores 4 values instead of 3. The new stored value (4th line in database)should be an image path. Make new functions if required.
issue 5: take screenshot as input
Edit <code>uploadgame.html</code> and <code>uploadgame.js</code> and add an option of uploading 1 screenshot image of the image. This image path should then be added to the database.
issue 6: add gameRunning.html
Add another screen "gameRunning.html" that should run once an exe has started running. It should contain a return option that sends the user to "viewGames.html"
issue 7: select exe name from database
Edit the "js/renderer.js", such that when a game is selected, the path of the selected game should not be dynamically made, but should be selected from "GamesDB.txt". Make necessary functions in <code>database.js</code>
issue 8: Create shortcut on desktop
Create necessay file and functions that are run when the software is run. The file will check if there is a software's shortcut on the user's desktop. If not, it will create the exe's shortcut.
issue 9: electron-db as the new database
Use "electron-db" as the software's database instead of <code>GamesDB.txt</code>. Replace all the present functions. Create a new file <code>e-Database.js</code> and dont edit the current <code>database.js</code>.
issue 10: load all static files in beginning
Take advantage of asynchronous programming and load all static files (css/js) from main.js instead of the respective <code>.html</code> files. This should reduce the loading time of the software.
issue 11: Get username of the loggedin user
Create a function <code>getUsername()</code> inside <code>uploadGame.js</code> that returns the computers username. This will later be used when uploading the game to the cloud using the software.
issue 12: Styling about.html
Properly style <code>about.css</code> and <code>about.html</code> such that it looks good.
issue 13: Add .vs to .gitignore
I have tried literally everything but I cant get the .gitignore to ignore my <code>.vs\</code> folder. Serious help is needed here.
issue 14: Escape html special characters
Escape all types of html special characters in the <code>uploadgame.js</code> such that Javascript and HTML injection is not possible.
Rough: <code></code>
Best of luck.