init
This commit is contained in:
		@@ -160,7 +160,6 @@ ipc.on('memory', function (event, arg) {
 | 
			
		||||
})
 | 
			
		||||
//update.html
 | 
			
		||||
ipc.on('prog', function (event, arg) {
 | 
			
		||||
    console.log(arg)
 | 
			
		||||
    postMessage(["updateProg", arg], "*")
 | 
			
		||||
})
 | 
			
		||||
ipc.on('mess', function (event, arg) {
 | 
			
		||||
 
 | 
			
		||||
@@ -29,7 +29,6 @@ function post(mode, postvis) {
 | 
			
		||||
	}
 | 
			
		||||
	if (domain != "kirishima.cloud") {
 | 
			
		||||
		if (mode != "pass" && !$("#cw").hasClass("cw-avail") && (str.length > cw_sent || (str.split("\n").length - 1) > cw_ltres)) {
 | 
			
		||||
			console.log("out")
 | 
			
		||||
			var plus = str.replace(/\n/g, "").slice(0, 10) + "...";
 | 
			
		||||
			Swal.fire({
 | 
			
		||||
				title: lang.lang_post_cwtitle,
 | 
			
		||||
@@ -43,7 +42,6 @@ function post(mode, postvis) {
 | 
			
		||||
				showCloseButton: true,
 | 
			
		||||
				focusConfirm: false,
 | 
			
		||||
			}).then((result) => {
 | 
			
		||||
				console.log(result)
 | 
			
		||||
				if (result.dismiss == "cancel") {
 | 
			
		||||
					//btn3:sonomama
 | 
			
		||||
					post("pass")
 | 
			
		||||
 
 | 
			
		||||
@@ -1001,7 +1001,6 @@ function connectMisskey(acct_id, re) {
 | 
			
		||||
		var mute = [];
 | 
			
		||||
		if (data.body.id.indexOf("notf:") !== -1) {
 | 
			
		||||
			var obj = JSON.parse(mess.data).body;
 | 
			
		||||
			console.log(obj);
 | 
			
		||||
			var popup = localStorage.getItem("popup");
 | 
			
		||||
			if (!popup) {
 | 
			
		||||
				popup = 0;
 | 
			
		||||
 
 | 
			
		||||
@@ -70,7 +70,6 @@ if (location.search) {
 | 
			
		||||
	var mode = m[1];
 | 
			
		||||
	var codex = m[2];
 | 
			
		||||
	if (mode == "share") {
 | 
			
		||||
		console.log(codex);
 | 
			
		||||
		$('textarea').focus();
 | 
			
		||||
		$("#textarea").val(decodeURI(codex));
 | 
			
		||||
		show();
 | 
			
		||||
 
 | 
			
		||||
@@ -357,7 +357,6 @@ function relations(user, acct_id) {
 | 
			
		||||
		console.error(error);
 | 
			
		||||
	}).then(function (json) {
 | 
			
		||||
		var json = json[0];
 | 
			
		||||
		console.log(json);
 | 
			
		||||
		if (json.following) {
 | 
			
		||||
			//自分がフォローしている
 | 
			
		||||
			$("#his-data").addClass("following");
 | 
			
		||||
 
 | 
			
		||||
@@ -116,8 +116,8 @@
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    "electronDownload": {
 | 
			
		||||
      "version": "5.0.1"
 | 
			
		||||
      "version": "5.0.4"
 | 
			
		||||
    },
 | 
			
		||||
    "electronVersion": "5.0.1"
 | 
			
		||||
    "electronVersion": "5.0.4"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user