1
0
mirror of https://github.com/Toxblh/MTMR.git synced 2026-01-10 00:58:37 +00:00
MTMR/MTMR
Fedor Zaytsev 52758f947d
Fix shell crash (#297)
* Updated README

Added explanation for missing parameters (background, title and image)

* Implemented changable icons for AppleScriptTouchBarItem

AppleScriptTouchBarItem now allow to specify any number of icons which can be changed from the script. You cannot change icon from touch event. To change icon, you need to return array from your script with 2 values - title and icn name. More info in readme

* Fixed error related to ShellButton

When you execute Process from swift you cannot relay solely on pipe.fileHandleForReading.readDataToEndOfFile()
Sometimes when I close notebook I get exception saying that you cannot access process.terminationStatus variable while process is running.
Apparently it seems that this call can be finished when OS X put disks into sleep mode(?)

What I did:
1. Added Process.waitUntilExit() call
2. Added timeout (equal to the update interval)

Co-authored-by: Fedor Zaitsev <lobster@Fedors-MacBook-Pro.local>
2020-04-21 13:34:03 +01:00
..
AppleScripts Add Music app (#279) 2020-03-16 12:06:20 +00:00
Assets.xcassets #171 Added DarkMode button v0.21 2019-05-22 18:25:18 +01:00
Base.lproj Created and passed the autoResize parameter to the dock widget 2019-05-09 22:04:10 -07:00
CBridge Add new "shellScriptTitledButton" button type 2019-08-11 15:25:44 +02:00
Widgets Currency bar update (#293) 2020-04-09 18:49:39 +01:00
AppDelegate.swift More Productive Gestures (#289) 2020-04-09 00:24:43 +01:00
AppleScriptTouchBarItem.swift Implemented changable icons for AppleScriptTouchBarItem (#275) 2020-02-28 21:59:14 +00:00
AppSettings.swift missed a single userdefaults 2019-10-26 17:22:19 +07:00
BasicView.swift More Productive Gestures (#289) 2020-04-09 00:24:43 +01:00
CustomButtonTouchBarItem.swift get long tap to kill back into place 2019-10-27 13:01:22 +07:00
CustomSlider.swift code format 2018-10-20 17:53:49 +01:00
defaultPreset.json Add Music app (#279) 2020-03-16 12:06:20 +00:00
dsa_pub.pem added updater 2018-09-26 00:18:27 +01:00
GeneralExtensions.swift code format 2018-10-20 17:53:49 +01:00
HapticFeedback.swift support for global settings. haptic feedback as the first one 2019-10-12 12:54:48 +07:00
Info.plist More Productive Gestures (#289) 2020-04-09 00:24:43 +01:00
ItemsParsing.swift Custom gestures support (#288) 2020-04-01 22:11:35 +01:00
KeyPress.swift Revert "#154 .cghidEventTap -> .cgAnnotatedSessionEventTap" 2019-05-15 16:40:09 +01:00
MTMR.entitlements upd to previous the commit 2018-04-09 01:15:04 +01:00
ScrollViewItem.swift Custom gestures support (#288) 2020-04-01 22:11:35 +01:00
ShellScriptTouchBarItem.swift Fix shell crash (#297) 2020-04-21 13:34:03 +01:00
SupportHelpers.swift Style format 2019-01-24 00:04:30 +03:00
SupportNSTouchBar.swift code format 2018-10-20 17:53:49 +01:00
SwipeItem.swift Custom gestures support (#288) 2020-04-01 22:11:35 +01:00
TouchBarController.swift Custom gestures support (#288) 2020-04-01 22:11:35 +01:00