Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 22 Nov 2017, 07:32
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Misc
Xdelta_GUI for mac
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
mavrothal


Joined: 24 Aug 2009
Posts: 2909

PostPosted: Thu 26 Oct 2017, 11:28    Post subject:  Xdelta_GUI for mac  

With all of peebee's deltas around I thought to make Xdelta_GUI for OS X Shocked
To run the app in a mac you'll need the puppy xdelta_gui script, xdelta3 binary from homebrew and gtkdialog for mac
To make the attached app yourself open "Script Editor", paste this script:
Code:
tell application "Finder" to set theSel to selection as text
if theSel is "" then display dialog "Nothing selected" buttons {"Cancel"} default button 1
open theSel

on open theSel
   set theDelta to POSIX path of theSel
   set isDelta to (do shell script "echo " & theDelta & "|rev|cut -c 1-5|rev")
   if isDelta is not "delta" then display dialog "This is not a delta file" buttons {"Cancel"} default button 1
   tell application "Terminal"
      activate
      do script "xdelta_gui " & theDelta
   end tell
end open
and "File -> Export..." it as an application.

Note: You can get a much "cleaner" app if you use the mac Automator instead. Open New > Application, select 'Action' "Run Shell Script", paste in the code of xdelta_gui from puppy, make sure you include PATH=/usr/local/bin/:$PATH at the top of the script (is not default for system) and that you choose 'Pass input' "as arguments" and you are done.
However the app is 2MB. So no posting
Xdelta_mac.tar.gz
Description  xdelta_gui for *mac OS X only*
gz

 Download 
Filename  Xdelta_mac.tar.gz 
Filesize  66.91 KB 
Downloaded  13 Time(s) 

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Misc
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0253s ][ Queries: 12 (0.0033s) ][ GZIP on ]