Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc33a132

Browse files
committed
Run intruded event if wake without unlock
1 parent33bbe3e commitc33a132

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎BLEUnlock/AppDelegate.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSMenuDelegate, NSMenuItemVa
308308

309309
@objcfunc onDisplayWake(){
310310
print("display wake")
311-
unlockedAt=Date().timeIntervalSince1970
311+
//unlockedAt = Date().timeIntervalSince1970
312312
displaySleep=false
313313
wakeTimer?.invalidate()
314314
wakeTimer=nil
@@ -343,7 +343,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSMenuDelegate, NSMenuItemVa
343343
Timer.scheduledTimer(withTimeInterval:2, repeats:false, block:{ _in
344344
print("onUnlock")
345345
ifDate().timeIntervalSince1970>=self.unlockedAt+10{
346-
ifself.ble.unlockRSSI!=self.ble.UNLOCK_DISABLED&& !self.prefs.bool(forKey:"wakeWithoutUnlocking"){
346+
ifself.ble.unlockRSSI!=self.ble.UNLOCK_DISABLED{
347347
self.runScript("intruded")
348348
}
349349
self.playNowPlaying()

‎BLEUnlock/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>1.12.1</string>
20+
<string>1.12.2</string>
2121
<key>CFBundleVersion</key>
22-
<string>778</string>
22+
<string>796</string>
2323
<key>LSApplicationCategoryType</key>
2424
<string>public.app-category.utilities</string>
2525
<key>LSMinimumSystemVersion</key>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp