Skip to content

Commit

Permalink
phase 1 of promo images & font addition & icons built
Browse files Browse the repository at this point in the history
  • Loading branch information
f00d4tehg0dz committed Dec 29, 2023
1 parent 0d7a2ac commit 350409a
Show file tree
Hide file tree
Showing 28 changed files with 56 additions and 10 deletions.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added adobe/photoshop/icon.psd
Binary file not shown.
Binary file added adobe/photoshop/preview.psd
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/com.f00d4tehg0dz.cookieclicker.sdPlugin/css/styles.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
@font-face {
font-family: 'Nunito';
src: url('../font/Nunito-Regular.ttf') format('truetype');
src: url('../font/Nunito-Regular.woff2') format('truetype');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'Nunito';
src: url('../font/Nunito-Bold.ttf') format('truetype');
src: url('../font/Nunito-Bold.woff2') format('truetype');
font-weight: bold;
font-style: normal;
}
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified src/com.f00d4tehg0dz.cookieclicker.sdPlugin/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/com.f00d4tehg0dz.cookieclicker.sdPlugin/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion src/com.f00d4tehg0dz.cookieclicker.sdPlugin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<script src="./js/common.js"></script>
<script src="./js/moment.js"></script>
<script src="./js/jquery-3.3.1.js"></script>
<script src="./action/js/status.js"></script>
<script src="./actions/js/status.js"></script>
<script src="./js/app.js"></script>
</body>

Expand Down
14 changes: 14 additions & 0 deletions src/com.f00d4tehg0dz.cookieclicker.sdPlugin/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,25 @@ if ($SD) {
let settings = jsonObj.payload;

if (!settings.saveBtn == true) {
if (localStorage.getItem("nameKey") === null) {
localStorage.setItem("nameKey", jsonObj.payload.nameKey.toString());
localStorage.nameKey = jsonObj.payload.nameKey
}
else {
//localStorage.setItem("nameKey", jsonObj.payload.nameKey.toString());
}
$SD.api.setSettings(jsonObj.context, jsonObj.payload);
setLeaderBoardScore(settings, uuid);
initiateStatus(jsonObj.context, jsonObj.payload);
}
else {
if (localStorage.getItem("nameKey") === null) {
localStorage.setItem("nameKey", jsonObj.payload.nameKey.toString());
localStorage.nameKey = jsonObj.payload.nameKey
}
else {
//localStorage.setItem("nameKey", jsonObj.payload.nameKey.toString());
}
initiateStatus(jsonObj.context, jsonObj.payload.settings);
$SD.api.setSettings(jsonObj.context, jsonObj.payload);
}
Expand Down
14 changes: 7 additions & 7 deletions src/com.f00d4tehg0dz.cookieclicker.sdPlugin/manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"Actions": [
{
"Icon": "icon",
"Name": "CookieClicker",
"Icon": "actions/template/assets/actionimage",
"Name": "Tap for Cookies",
"States": [
{
"Image": "icon",
Expand All @@ -12,21 +12,21 @@
}
],
"SupportedInMultiActions": false,
"Tooltip": "A CookieClicker plugin developed by f00d4tehg0dz",
"Tooltip": "Install me to start Clicking!",
"UUID": "com.f00d4tehg0dz.cookieclicker.action"
}
],
"SDKVersion": 2,
"Author": "f00d4tehg0dz",
"Category": "Cookie Clicker",
"CategoryIcon": "icons/category-icon",
"CategoryIcon": "actions/template/assets/category",
"CodePath": "index.html",
"Description": "A CookieClicker Status plugin developed by f00d4tehg0dz. Please report any issues you see on the project's Github page. I welcome any feedback.",
"Description": "Cookie Clicker for StreamDeck: Tap your way to baking success! Enjoy quick, addictive gameplay as you progress from a humble baker to a 'Quantum Baker'. A sweet, fun escape at your fingertips!",
"Name": "Cookie Clicker",
"Icon": "icon",
"Icon": "actions/template/assets/action",
"URL": "https://github.com/f00d4tehg0dz/elgato-streamdeck-cookie-clicker",
"PropertyInspectorPath": "cookieclicker.html",
"Version": "3.6",
"Version": "4.0",
"OS": [
{
"Platform": "mac",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 350409a

Please sign in to comment.