forked from Dizi0/Tekken-7-Save-Manager
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
96 lines (93 loc) · 3.15 KB
/
index.html
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="assets/css/index.css">
<meta http-equiv="Content-Security-Policy"
content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-inline'; style-src 'self' 'unsafe-inline'; media-src *; img-src 'self' data: content:;">
<!-- <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'">-->
<!-- <meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self'">-->
<title>Tekken 7 Save Manager</title>
</head>
<body>
<svg class="hidden">
<symbol id="icon-download" viewBox="0 0 32 32">
<path
d="M16 18l8-8h-6v-8h-4v8h-6zM23.273 14.727l-2.242 2.242 8.128 3.031-13.158 4.907-13.158-4.907 8.127-3.031-2.242-2.242-8.727 3.273v8l16 6 16-6v-8z">
</path>
</symbol>
<symbol id="icon-upload" viewBox="0 0 32 32">
<path
d="M14 18h4v-8h6l-8-8-8 8h6zM20 13.5v3.085l9.158 3.415-13.158 4.907-13.158-4.907 9.158-3.415v-3.085l-12 4.5v8l16 6 16-6v-8z">
</path>
</symbol>
<symbol id="icon-folder-open" viewBox="0 0 32 32">
<path d="M26 30l6-16h-26l-6 16zM4 12l-4 18v-26h9l4 4h13v4z"></path>
</symbol>
</svg>
<div class="container">
<h1>Welcome to Tekken 7 Save Manager</h1>
<div>This app is designed to prevent save loss due to corruption or game reinstallation.</div>
<div class="buttons">
<button class="backup" onclick="backupSave()">
<svg class="icon icon-download">
<use xlink:href="#icon-download"></use>
</svg>
Backup last saves
</button>
<button class="import" onclick="importSave()">
<svg class="icon icon-upload">
<use xlink:href="#icon-upload"></use>
</svg>
Import last backup
</button>
<br>
<button class="backup" onclick="openBackupDir()">
<svg class="icon icon-folder-open">
<use xlink:href="#icon-folder-open"></use>
</svg>
Open backup folder
</button>
<button class="import" onclick="openTekkenDir()">
<svg class="icon icon-folder-open">
<use xlink:href="#icon-folder-open"></use>
</svg>
Open data folder
</button>
<br>
<button class="backup" onclick="cleanLogs()">
<svg class="icon icon-folder-open">
<use xlink:href="#icon-folder-open"></use>
</svg>
Clean logs
</button>
<button class="import" onclick="cleanReplay()">
<svg class="icon icon-folder-open">
<use xlink:href="#icon-folder-open"></use>
</svg>
Clean replays
</button>
<br>
<button class="backup" onclick="openSteamApiDir()">
<svg class="icon icon-folder-open">
<use xlink:href="#icon-folder-open"></use>
</svg>
Open Steam API folder
</button>
<button class="import" onclick="openTekken7LocalDir()">
<svg class="icon icon-folder-open">
<use xlink:href="#icon-folder-open"></use>
</svg>
Open Tekken 7 Steam folder
</button>
</div>
<div class="disclaimer">
Disclaimer: I don't condone or approve save-scumming, as this tool is only made for honest backup usage.
</div>
<!-- The actual snackbar -->
<div id="snackbar"></div>
</div>
<!-- You can also require other files to run in this process -->
<script src="./renderer.js"></script>
</body>
</html>