From 8699868c42b3930d481d07321f8dc8f70832c1e4 Mon Sep 17 00:00:00 2001
From: He4eT
Date: Sat, 24 Jul 2021 19:52:42 +0500
Subject: [PATCH] Rename the project to ElseIFPlayer
---
README.md | 14 +++++++-------
gh.release.sh | 2 +-
index.html | 2 +-
package-lock.json | 3 ++-
package.json | 2 +-
src/components/Player/Status.jsx | 2 +-
src/themes/themes.js | 2 +-
src/views/HomeView/HomeView.jsx | 4 ++--
src/views/NotFoundView.jsx | 2 +-
9 files changed, 17 insertions(+), 16 deletions(-)
diff --git a/README.md b/README.md
index d5fa080..8292e32 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
-# ifplayer
+# ElseIFPlayer
Interactive Fiction player for the web.
Powered by [cheap-glkote](https://github.com/He4eT/cheap-glkote) and [Emglken](https://github.com/curiousdannii/emglken).
-To see a live demo, check out [https://he4et.github.io/ifplayer/](https://he4et.github.io/ifplayer/).
+To see a live demo, check out [https://he4et.github.io/elseifplayer/](https://he4et.github.io/elseifplayer/).
## Direct links
@@ -12,13 +12,13 @@ You can provide the direct link to your game:
`/#/play/encodedURL/[theme]/[mode]/`
- `encodedURL` — storyfile location encoded with `encodeURIComponent`.
-- `theme` — [UI theme](https://github.com/He4eT/ifplayer/blob/master/src/themes/themes.js), optional.
+- `theme` — [UI theme](https://github.com/He4eT/elseifplayer/blob/master/src/themes/themes.js), optional.
- `mode` — player interface mode, optional:
- the default mode is used if the option is not set.
- `focus` — single window mode without additional windows, such as the status bar.
### Examples
-- [Play "Lost Pig" with default or last used theme](https://he4et.github.io/ifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/);
-- [Play "Lost Pig" without statusbar with default or last used theme](https://he4et.github.io/ifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/);
-- [Play "Lost Pig" with Nord theme](https://he4et.github.io/ifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/nord/);
-- [Play "Lost Pig" without statusbar with Dim theme](https://he4et.github.io/ifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/dim/focus/);
+- [Play "Lost Pig" with default or last used theme](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/);
+- [Play "Lost Pig" without statusbar with default or last used theme](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/);
+- [Play "Lost Pig" with Nord theme](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/nord/);
+- [Play "Lost Pig" without statusbar with Dim theme](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/dim/focus/);
diff --git a/gh.release.sh b/gh.release.sh
index e17ab7a..f827697 100755
--- a/gh.release.sh
+++ b/gh.release.sh
@@ -2,7 +2,7 @@
CURRENT_TIMESTAMP=`date +"%Y-%m-%d-%H%M%S"`
-GH_REPO_NAME='ifplayer'
+GH_REPO_NAME='elseifplayer'
RELEASE_BRANCH='release'
BUILD_DIR='docs'
diff --git a/index.html b/index.html
index 236b7c3..b6c8d45 100644
--- a/index.html
+++ b/index.html
@@ -6,7 +6,7 @@
name="viewport"
content="width=device-width, initial-scale=1.0">
- IFPlayer
+ ElseIFPlayer
(
+ href='https://github.com/He4eT/elseifplayer/issues'>
Report bug
diff --git a/src/themes/themes.js b/src/themes/themes.js
index c74eabe..38aca14 100644
--- a/src/themes/themes.js
+++ b/src/themes/themes.js
@@ -16,7 +16,7 @@ const themes = [
'wasp'
]
-const LS_THEME_KEY = 'ifplayer/theme'
+const LS_THEME_KEY = 'elseifplayer/theme'
const DEFAULT_THEME = themes[0]
const getSavedTheme = () => {
diff --git a/src/views/HomeView/HomeView.jsx b/src/views/HomeView/HomeView.jsx
index e48b82d..6842182 100644
--- a/src/views/HomeView/HomeView.jsx
+++ b/src/views/HomeView/HomeView.jsx
@@ -21,7 +21,7 @@ export default function ({ themeEngine }) {
return (
- ifplayer
+ ElseIFPlayer
diff --git a/src/views/NotFoundView.jsx b/src/views/NotFoundView.jsx
index 6dfff92..706ecdd 100644
--- a/src/views/NotFoundView.jsx
+++ b/src/views/NotFoundView.jsx
@@ -18,7 +18,7 @@ export default () => (
+ href='https://github.com/He4eT/elseifplayer/issues'>
Report bug