-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
93 lines (82 loc) · 4.7 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
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="shortcut icon" href="./images/favicon.ico" type="image/x-icon"/>
<title>Smelt: Batch Package Manager</title>
<style>
code {
color: black;
background-color: #ddd;
padding: 4px;
border-radius: 2px;
}
</style>
</head>
<body>
<!-- Smelt Navbar -->
<center>
<div class="jumbotron" style="background-color:#040707;">
<div class="container">
<h1 class="display-4" style="color:#3498db;">Smelt</h1>
<p class="lead" style="color:white;">Batch Package Manager</p>
</div>
</div>
<!-- Installation Section -->
<div class="jumbotron jumbotron-fluid">
<h1 class="display-4">Installation</h1>
<p class="lead">Download the setup file below, and double-click to run it.</p>
<p>There will be two new folders: <code>extension</code> and <code>logs</code>, and five new files: <code>sbpm.bat</code>, <code>install.bat</code>, <code>uninstall.bat</code>, <code>update.cmd</code>, and <code>reinstall.bat</code>.</p>
<p class="lead">
<a class="btn btn-primary btn-lg" href="https://smelt-modding.github.io/smelt/setup.bat" role="button">Download</a>
</p>
</div>
<!-- Usage Section -->
<div class="jumbotron">
<h1 class="display-4">Usage</h1>
<br/>
<h2>To install commands pre-downloaded from other sources:</h2>
<p class="lead">Move the downloaded commands into the extensions folder, run <code>sbpm install</code>, and you're done! A log will be available at <code>logs\install.log</code>.</p>
<br/>
<h2>To install commands available here:</h2>
<p class="lead">Open Command Prompt (Win+R, type cmd and hit Enter/Win+X, C) then type <code>sbpm install _package_</code> (replace <code>_package_</code> with the name of the desired package.) and you're done! A log will be available at <code>logs\install.log</code>.</p>
<br/>
<h2>To upgrade commands pre-downloaded from other sources:</h2>
<p class="lead">Delete the previous versions from the <code>extension</code> folder and Move the new versions into the <code>extension</code> folder. Now just run <code>sbpm reinstall</code>, and you're done! Logs will be available at <code>logs\uninstall.log</code> and <code>logs\install.log</code>.</p>
<br/>
<h2>To upgrade commands available here:</h2>
<p class="lead"> Open Command Prompt (Win+R, type cmd and hit Enter/Win+X, C) then type <code>sbpm install _package_ /upgrade</code> or <code>sbpm install _package_ /U</code> (replace <code>_package_</code> with the name of the desired package). You're done! A log will be available at <code>logs\install.log</code>.</p>
<br/>
<h2><a style="color:red;">To uninstall SBPM completely:</a></h2>
<p class="lead"> Just run <code>sbpm uninstall</code> and it's gone! A log will be available at <code>logs\uninstall.log</code>.</p>
<br/>
<h2>To uninstall a command installed with SBPM:</h2>
<p class="lead">Open Command Prompt (Win+R, type cmd and hit Enter/Win+X, C), Type <code>sbpm uninstall _package_</code> (replace <code>_package_</code> with the name of the desired package.) and it's removed! A log will be available at <code>logs\uninstall.log</code>.</p>
<br/>
<h2>Update the package manager:</h2>
<p class="lead">Open Command Prompt (Win+R, type cmd and hit Enter/Win+X, C) and then Type <code>sbpm update</code>. Once it has went through the process of updating, logs will be available at <code>logs\install.log</code>, <code>logs\uninstall.log</code>, and <code>logs\update.log</code>.</p>
</div>
<!-- Kown Issues Section -->
<div class="jumbotron">
<h1 class="display-4">Known issues</h1>
<p class="lead"><ul><li style="list-style-position: inside"><a href="https://github.com/smelt-batch/smelt-batch.github.io/issues/1">#1</a> Windows SmartScreen may prevent <code>setup.bat</code> from running. To get around this, right click it, choose "Properties", check "Unblock", and click OK.</li></ul></p>
<p class="lead">
<a class="btn btn-primary btn-lg" href="https://github.com/smelt-modding/smelt-modding.github.io/issues/new" role="button">Report another issue</a>
</p>
</div>
<!-- GitHub/Code Section -->
<div class="jumbotron">
<h1 class="display-4">Code</h1>
<p class="lead">This code is open source and available on GitHub.</p>
<p class="lead">
<a class="btn btn-primary btn-lg" href="https://github.com/smelt-modding/smelt-modding.github.io/" role="button">View It</a>
</p>
</div>
<!-- Footer -->
<div class="alert alert-light" role="alert">
© SBPM 2017-2018 | Hosted with GitHub Pages.
</div>
<br/>
</center>
</body>
</html>