Skip to content

Commit

Permalink
Mozilla upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ibnishak committed Dec 22, 2018
1 parent 296c83d commit 911a395
Show file tree
Hide file tree
Showing 13 changed files with 82 additions and 15 deletions.
9 changes: 3 additions & 6 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@
<a href="https://GitHub.com/ibnishak/timimi/graphs/commit-activity" class="rich-diff-level-one">
<img src="https://camo.githubusercontent.com/0e6a3f975d68b438efec82fef1f9491600606df8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d61696e7461696e65642533462d7965732d677265656e2e737667" alt="Maintenance" data-canonical-src="https://img.shields.io/badge/Maintained%3F-yes-green.svg" style="max-width:100%;">
</a>
<a href="https://GitHub.com/ibnishak/timimi/stargazers/" class="rich-diff-level-one">
<img src="https://camo.githubusercontent.com/ea01a1feb6d3db0cbe7c102fe98407f05fc55413/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f69626e697368616b2f74696d696d692e7376673f7374796c653d736f6369616c266c6162656c3d53746172266d61784167653d32353932303030" alt="GitHub stars" data-canonical-src="https://img.shields.io/github/stars/ibnishak/timimi.svg?style=social&amp;label=Star&amp;maxAge=2592000" style="max-width:100%;">
</a>
<a href="http://makeapullrequest.com" rel="nofollow" class="rich-diff-level-one">
<img src="https://camo.githubusercontent.com/a34cfbf37ba6848362bf2bee0f3915c2e38b1cc1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5052732d77656c636f6d652d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265" alt="PRs Welcome" data-canonical-src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square" style="max-width:100%;">
<img src="resources/go.svg" style="max-width:100%;">
<img src="resources/golang.svg" style="max-width:100%;">
<img src="resources/licence.svg" style="max-width:100%;">
<a href="https://tiddlywiki.com/" target="_blank"><img src="resources/tw.svg" style="max-width:100%;"></a>
</a>
</p>

Expand Down
7 changes: 3 additions & 4 deletions addon-firefox/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,14 @@
{
"gecko":
{
"id": "timimi@tesseract.com",
"strict_min_version": "55.0"
"id": "timimi@tesseract.io",
"strict_min_version": "57.0"
}
},
"background":
{
"scripts": ["background.js"]
},

"browser_action":
{
"browser_style": true,
Expand All @@ -41,4 +40,4 @@
"nativeMessaging",
"storage"
]
}
}
Binary file not shown.
23 changes: 23 additions & 0 deletions os-gnulinux/build-termux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/data/data/com.termux/files/usr/bin/env bash

if [ ! -d "../pkg/linux-firefox" ]; then
mkdir -p ../pkg/linux-firefox
fi

echo "Building timimi"
go build timimi.go
echo "Moving timimi"
mv timimi ../pkg/linux-firefox
echo "Building install"
pushd install-linux-firefox
go build install-linux-firefox.go
echo "Moving install"
mv install-linux-firefox ../../pkg/linux-firefox
popd

pushd ../pkg
echo "Zipping"
zip -r linux-firefox.zip linux-firefox
rm -rf linux-firefox
popd
echo "Finished"
2 changes: 1 addition & 1 deletion os-gnulinux/install-linux-firefox/install-linux-firefox.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const tmpl = `{
"description": "Native messaging host to save TW5",
"path": "{{.Exec}}",
"type": "stdio",
"allowed_extensions": [ "timimi@tesseract.com" ]
"allowed_extensions": [ "timimi@tesseract.io" ]
}
`

Expand Down
23 changes: 23 additions & 0 deletions os-mac/build-termux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/data/data/com.termux/files/usr/bin/env bash

if [ ! -d "../pkg/linux-firefox" ]; then
mkdir -p ../pkg/mac-firefox
fi

echo "Building timimi"
env GOOS=darwin GOARCH=amd64 go build timimi.go
echo "Moving timimi"
mv timimi ../pkg/mac-firefox
echo "Building install"
pushd install-mac-firefox
go build install-mac-firefox.go
echo "Moving install"
mv install-mac-firefox ../../pkg/mac-firefox
popd

pushd ../pkg
echo "Zipping"
zip -r mac-firefox.zip mac-firefox
rm -rf mac-firefox
popd
echo "Finished"
23 changes: 23 additions & 0 deletions os-mac/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env bash

if [ ! -d "../pkg/linux-firefox" ]; then
mkdir -p ../pkg/mac-firefox
fi

echo "Building timimi"
env GOOS=darwin GOARCH=amd64 go build timimi.go
echo "Moving timimi"
mv timimi ../pkg/mac-firefox
echo "Building install"
pushd install-mac-firefox
go build install-mac-firefox.go
echo "Moving install"
mv install-mac-firefox ../../pkg/mac-firefox
popd

pushd ../pkg
echo "Zipping"
zip -r mac-firefox.zip mac-firefox
rm -rf mac-firefox
popd
echo "Finished"
2 changes: 1 addition & 1 deletion os-mac/install-mac-firefox/install-mac-firefox.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const tmpl = `{
"description": "Native messaging host to save TW5",
"path": "{{.Exec}}",
"type": "stdio",
"allowed_extensions": [ "timimi@tesseract.com" ]
"allowed_extensions": [ "timimi@tesseract.io" ]
}
`

Expand Down
4 changes: 2 additions & 2 deletions os-windows/timimi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"description": "Native messaging host to save TW5",
"path": "timimi.exe",
"type": "stdio",
"allowed_extensions": [ "timimi@tesseract.com" ]
}
"allowed_extensions": [ "timimi@tesseract.io" ]
}
1 change: 0 additions & 1 deletion resources/go.svg

This file was deleted.

1 change: 1 addition & 0 deletions resources/golang.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions resources/licence.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions resources/tw.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 911a395

Please sign in to comment.