diff --git a/app/css/master.css b/app/css/master.css
index a00a3aaf..6ee84bbd 100644
--- a/app/css/master.css
+++ b/app/css/master.css
@@ -414,7 +414,7 @@ blockquote:before,
}
#support-btm {
position: fixed;
- bottom: 0;
+ bottom: -300px;
width: 100vw;
background-color: var(--box);
z-index: 9999;
diff --git a/app/js/common/version.js b/app/js/common/version.js
index 28a78175..ea05863c 100644
--- a/app/js/common/version.js
+++ b/app/js/common/version.js
@@ -1,8 +1,11 @@
//バージョンチェッカー
function verck(ver) {
console.log("%c Welcome😊", "color: red;font-size:200%;")
+ var date = new Date();
+ var show = false
if (localStorage.getItem("ver") != ver) {
localStorage.setItem("ver", ver);
+ show = true
console.log("%c Thank you for your update🎉", "color: red;font-size:200%;");
$(document).ready(function () {
$('#releasenote').modal('open');
@@ -22,11 +25,28 @@ function verck(ver) {
});
}
+ if (!show) {
+ console.log(show)
+ if (date.getMonth() + 1 == localStorage.getItem("showSupportMe") || !localStorage.getItem("showSupportMe")) {
+ if (date.getMonth() == 11) {
+ var nextmonth = 1
+ } else {
+ var nextmonth = date.getMonth() + 2
+ }
+ localStorage.setItem("showSupportMe", nextmonth)
+ $("#support-btm").removeClass("hide")
+ $("#support-btm").animate({
+ 'bottom': '0'
+ }, {
+ 'duration': 300
+ });
+ }
+ }
var electron = require("electron");
var remote = electron.remote;
var dialog = remote.dialog;
var platform = remote.process.platform;
- console.log("Your platform:"+remote.process.platform)
+ console.log("Your platform:" + remote.process.platform)
if (platform == "win32") {
const options = {
type: 'info',
@@ -272,4 +292,14 @@ function openRN() {
} else {
$("#release-en").show();
}
+}
+function closeSupport() {
+ $("#support-btm").animate({
+ 'bottom': '-300px'
+ }, {
+ 'duration': 300,
+ 'complete': function () {
+ $("#support-btm").addClass("hide")
+ }
+ });
}
\ No newline at end of file
diff --git a/app/js/login/login.js b/app/js/login/login.js
index 8379e79c..86eb21c8 100644
--- a/app/js/login/login.js
+++ b/app/js/login/login.js
@@ -26,6 +26,8 @@ function ck() {
}
var multi = localStorage.getItem("multi");
if (!multi || multi == "[]") {
+ var date = new Date();
+ localStorage.setItem("showSupportMe", date.getMonth() + 2)
location.href = "acct.html?mode=first&code=true"
} else {
var obj = JSON.parse(multi);
diff --git a/app/view/en/index.html b/app/view/en/index.html
index bd64633f..16b1f169 100644
--- a/app/view/en/index.html
+++ b/app/view/en/index.html
@@ -36,7 +36,7 @@