dragon-games-preview-7739 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Launcher.html +3 -9
- package/package.json +6 -2
- package/.github/workflows/publish.yml +0 -16
package/Launcher.html
CHANGED
|
@@ -184,7 +184,7 @@ function openSite() {
|
|
|
184
184
|
|
|
185
185
|
if (response === password) {
|
|
186
186
|
// 3. If correct, open the site in a new tab
|
|
187
|
-
window.open("https://
|
|
187
|
+
window.open("https://unpkg.com/dragon-games-preview-7739@1.0.0/menu.html", "_blank");
|
|
188
188
|
} else {
|
|
189
189
|
// 4. If wrong, give an alert
|
|
190
190
|
alert("Access Denied! The dragons are not pleased.");
|
|
@@ -211,17 +211,11 @@ function createFire() {
|
|
|
211
211
|
} // done with fire just i dont know how ot efficiently get rid of extra lag but in the for let thing. the i < '4' controlls the amount
|
|
212
212
|
createFire();
|
|
213
213
|
</script>
|
|
214
|
-
<!-- The button that triggers the cloak -->
|
|
215
|
-
<p class="hint"></p>
|
|
216
|
-
<button onclick="askPassword()">ENTER THE LAIR</button>
|
|
217
|
-
<script src="Encryption+aboutBlanker.js"></script>
|
|
218
|
-
<p class="hint">Opens in a cloaked about:blank tab</p>
|
|
219
|
-
|
|
220
214
|
|
|
221
215
|
<p class="hint"></p>
|
|
222
216
|
<a href="https://m-beard.github.io/Dragon-Games/menu.html">
|
|
223
|
-
<button onclick="openSite()">ENTER THE
|
|
224
|
-
|
|
217
|
+
<button onclick="openSite()">ENTER THE LAIR</button>
|
|
218
|
+
<p class="hint">Opens in a regular tab</p>
|
|
225
219
|
|
|
226
220
|
<div class="hint">Visitor Counter</div>
|
|
227
221
|
<div align=center><img src='https://www.counter12.com/img-ZWDb93B2WDBc5Z44-1.gif' border='0' alt='counter'><script type='text/javascript' src='https://www.counter12.com/ad.js?id=ZWDb93B2WDBc5Z44'></script></div>
|
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
name: Publish to npm
|
|
2
|
-
on:
|
|
3
|
-
release:
|
|
4
|
-
types: [created]
|
|
5
|
-
jobs:
|
|
6
|
-
publish:
|
|
7
|
-
runs-on: ubuntu-latest
|
|
8
|
-
steps:
|
|
9
|
-
- uses: actions/checkout@v4
|
|
10
|
-
- uses: actions/setup-node@v4
|
|
11
|
-
with:
|
|
12
|
-
node-version: 'latest'
|
|
13
|
-
registry-url: 'https://npmjs.org'
|
|
14
|
-
- run: npm publish --access public
|
|
15
|
-
env:
|
|
16
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|