1
0
mirror of https://github.com/schollz/croc.git synced 2024-11-28 01:16:10 +03:00
Commit Graph

944 Commits

Author SHA1 Message Date
Micheal Quinn
9c6f01ca91
swapping getopt (which apparently is not good to use) for getopts in an attempt to make it more cross-platform without having to break out the logic based on OS...again... 2019-08-11 17:07:43 -05:00
Micheal Quinn
d39266a36d
wrangling another batch of wild global vars that should be local vars 2019-08-11 16:35:51 -05:00
Micheal Quinn
bf15c4c424
Adding help message formatting. Adding in sudo check. Caught and fixed some global variables that should be local. 2019-08-11 16:00:56 -05:00
Micheal Quinn
2c2920eb9c
Adding description information. Added print message function for fancy colors in the output. 2019-08-11 15:33:42 -05:00
Micheal Quinn
e7d6d096a8
Adding in root check to install commands with fallback to sudo. Splitting install logic out based on host OS 2019-08-11 13:01:00 -05:00
Micheal Quinn
b0ac5024a4
Adding a function to handle creation of temp dir. Polished the checksum check function to handle more cases/OSes 2019-08-11 12:31:19 -05:00
Micheal Quinn
9530952eb6
Adding install function and cleanup function 2019-08-10 21:45:53 -05:00
Micheal Quinn
eaf448ddac
Adding install function and logic 2019-08-10 21:08:04 -05:00
Micheal Quinn
c82dda45d9
Adding in extract file logic. 2019-08-10 18:26:06 -05:00
Micheal Quinn
7a684e7266
moving the rewrite into the proper location 2019-08-10 17:57:37 -05:00
Micheal Quinn
6178a7e16b
First pass at a rewrite. 2019-08-10 17:56:54 -05:00
Zack
02f89b1854
Merge pull request #150 from TheQueasle/freebsd_support_and_checksum_fixes
Install Script FreeBSD Support and Checksum Checks Fixes
2019-08-02 13:27:13 -07:00
Micheal Quinn
d5a8d07d1c
Fixing the macos shasum call to fit into the checksum check 2019-08-02 14:37:56 -05:00
Micheal Quinn
2c27d7aabd
reverting line 147 2019-08-01 13:02:44 -05:00
Micheal Quinn
f8d60c0011
Adding in some fixes for FreeBSD (tested in a FreeNAS jail 'FreeBSD 11.2-STABLE') as well as a fix for the checksum logic not correctly comparing the checksums. This still needs testing on a MacOS host 2019-08-01 12:55:05 -05:00
Zack Scholl
e1e722fc5b bump 6.1.1 2019-07-20 10:01:10 -06:00
Zack Scholl
82f2c8cd2f require go1.12 2019-07-20 08:57:03 -07:00
Zack Scholl
88b4001dd7 bug fix: create directories for empty files 2019-07-20 08:55:54 -07:00
Zack Scholl
2735c42a9d send empty files 2019-07-19 17:46:02 -07:00
Zack Scholl
83db5bdc68 Merge branch 'master' of https://github.com/schollz/croc 2019-07-19 17:42:22 -07:00
Zack Scholl
fe1329c909 handle if the file is zero bytes 2019-07-19 17:39:25 -07:00
Zack Scholl
336f314854 bump 6.1.0 2019-07-18 07:22:38 -06:00
Zack Scholl
6f31418330 add --remember 2019-07-18 07:22:03 -06:00
Zack
bd7ab1a9be
Merge pull request #144 from schollz/config
add --remember for saving config parameters
2019-07-18 06:18:38 -07:00
Zack Scholl
edc97915bd don't keep debug 2019-07-18 06:17:15 -07:00
Zack Scholl
256e0c51fa add save file for receiver 2019-07-18 06:13:11 -07:00
Zack Scholl
7fcf45cece remove unused code 2019-07-18 06:06:56 -07:00
Zack Scholl
6a8bdccb66 add receiver config 2019-07-17 18:16:50 -06:00
Zack Scholl
252e96a670 simplify toggling 2019-07-17 18:06:52 -06:00
Zack Scholl
97d18e1fbf toggling parameters 2019-07-17 17:26:42 -06:00
Zack Scholl
54fb8aec9d how to check if flag is set? 2019-07-17 17:23:50 -06:00
Zack Scholl
1d7976a61a save send remember 2019-07-17 16:19:32 -06:00
Zack Scholl
f18c2eae7e add get config dir 2019-07-17 15:55:43 -06:00
Zack Scholl
68ddbe7f14 small change 2019-07-17 14:33:02 -06:00
Zack Scholl
8b178881cf display relay in UI if not using default
Fixes #143
2019-07-17 14:12:48 -06:00
Zack Scholl
9968bbf824 addressing issue #141
the local relay is not being used and then the connection is refused but it still hangs
in that case is that the sender should give up, prompting the user to try again
2019-07-17 13:04:03 -06:00
Zack Scholl
928ee1f496 bump 6.0.12 2019-07-14 20:33:47 -06:00
Zack Scholl
fbbdd1bcfe update deps 2019-07-14 20:32:42 -06:00
Zack Scholl
f6cafd76fd Merge branch 'master' of github.com:schollz/croc 2019-07-14 19:31:53 -07:00
Zack Scholl
fe231fa67a remove machineid from deps 2019-07-14 19:31:44 -07:00
Zack Scholl
6091e9348e update deps 2019-07-08 14:21:29 -06:00
Zack Scholl
57564314b0 bump 6.0.11 2019-07-06 10:17:37 -06:00
Zack
6d9105abfb
Docker (#134)
* docker file works

* add docker info
2019-07-04 18:20:25 -07:00
Zack Scholl
ba00eda176 bump 6.0.10 2019-06-20 07:10:37 -07:00
Zack Scholl
1d744f1b4a bump version 2019-06-17 13:28:56 -06:00
Zack Scholl
0519850bc3 update deps 2019-06-17 13:28:29 -06:00
Matthew Helmke
e5d59fe563 Small fix (#132)
Just fixing a simple typo.
2019-06-17 07:46:52 -07:00
Zack Scholl
f35c5b88b6 bump 2019-06-11 10:05:34 -06:00
Zack Scholl
2e2700988b update deps 2019-06-04 09:31:24 -06:00
Zack Scholl
15034cc6d2 bump version 2019-05-27 08:01:37 -07:00