diff --git a/CHANGELOG.md b/CHANGELOG.md index 6291469..8475b8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). ## [Unreleased] + +## [0.3.0] - 2017-08-10 ### Added - Firefox support @@ -35,6 +37,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). ### Added - Initial implementation -[Unreleased]: https://github.com/dguo/pawblock/compare/v0.2.0...HEAD +[Unreleased]: https://github.com/dguo/pawblock/compare/v0.3.0...HEAD +[0.3.0]: https://github.com/dguo/pawblock/compare/v0.2.0...v0.3.0 [0.2.0]: https://github.com/dguo/pawblock/compare/v0.1.0...v0.2.0 [landing page]: https://dannyguo.com/pawblock diff --git a/dev b/dev index 763bff6..cb3a55a 100755 --- a/dev +++ b/dev @@ -41,12 +41,13 @@ def release(args, remaining): exit(1) if raw_input('Did you update the changelog [y/n]? ').lower() != 'y': exit(1) - with zipfile.ZipFile('pawblock-chrome.zip', 'w', + with zipfile.ZipFile('pawblock.zip', 'w', zipfile.ZIP_DEFLATED) as handle: - os.chdir('chrome') + os.chdir('extension') for root, dirs, files in os.walk('.'): for file in files: - handle.write(os.path.join(root, file)) + if file != '.DS_Store': + handle.write(os.path.join(root, file)) print('Upload the new zip file in the Chrome Web Store developer dashboard') print('https://chrome.google.com/webstore/developer/edit/jngmmiaolbliepfphdnelgfcclpnkoja') parser_release = subparsers.add_parser('release', help='Help release an update') diff --git a/chrome/block.html b/extension/block.html similarity index 100% rename from chrome/block.html rename to extension/block.html diff --git a/chrome/block.js b/extension/block.js similarity index 100% rename from chrome/block.js rename to extension/block.js diff --git a/chrome/blockCheck.js b/extension/blockCheck.js similarity index 100% rename from chrome/blockCheck.js rename to extension/blockCheck.js diff --git a/chrome/images/cat.jpg b/extension/images/cat.jpg similarity index 100% rename from chrome/images/cat.jpg rename to extension/images/cat.jpg diff --git a/chrome/images/default-happy.jpg b/extension/images/default-happy.jpg similarity index 100% rename from chrome/images/default-happy.jpg rename to extension/images/default-happy.jpg diff --git a/chrome/images/default-sad.jpg b/extension/images/default-sad.jpg similarity index 100% rename from chrome/images/default-sad.jpg rename to extension/images/default-sad.jpg diff --git a/chrome/images/icon-128-off.png b/extension/images/icon-128-off.png similarity index 100% rename from chrome/images/icon-128-off.png rename to extension/images/icon-128-off.png diff --git a/chrome/images/icon-128-on.png b/extension/images/icon-128-on.png similarity index 100% rename from chrome/images/icon-128-on.png rename to extension/images/icon-128-on.png diff --git a/chrome/images/icon-16-off.png b/extension/images/icon-16-off.png similarity index 100% rename from chrome/images/icon-16-off.png rename to extension/images/icon-16-off.png diff --git a/chrome/images/icon-16-on.png b/extension/images/icon-16-on.png similarity index 100% rename from chrome/images/icon-16-on.png rename to extension/images/icon-16-on.png diff --git a/chrome/images/icon-32-off.png b/extension/images/icon-32-off.png similarity index 100% rename from chrome/images/icon-32-off.png rename to extension/images/icon-32-off.png diff --git a/chrome/images/icon-32-on.png b/extension/images/icon-32-on.png similarity index 100% rename from chrome/images/icon-32-on.png rename to extension/images/icon-32-on.png diff --git a/chrome/images/icon-48-off.png b/extension/images/icon-48-off.png similarity index 100% rename from chrome/images/icon-48-off.png rename to extension/images/icon-48-off.png diff --git a/chrome/images/icon-48-on.png b/extension/images/icon-48-on.png similarity index 100% rename from chrome/images/icon-48-on.png rename to extension/images/icon-48-on.png diff --git a/chrome/manifest.json b/extension/manifest.json similarity index 94% rename from chrome/manifest.json rename to extension/manifest.json index c1a3468..1b49e33 100644 --- a/chrome/manifest.json +++ b/extension/manifest.json @@ -1,11 +1,11 @@ { "manifest_version": 2, "name": "PawBlock", - "version": "0.2.0", + "version": "0.3.0", "description": "Block websites to prevent procrastination and execessive web surfing.", "applications": { "gecko": { - "id": "pawblock@dannyguo.com" + "id": "@pawblock" } }, "icons": { diff --git a/chrome/options.html b/extension/options.html similarity index 100% rename from chrome/options.html rename to extension/options.html diff --git a/chrome/options.js b/extension/options.js similarity index 100% rename from chrome/options.js rename to extension/options.js diff --git a/chrome/popup.html b/extension/popup.html similarity index 100% rename from chrome/popup.html rename to extension/popup.html diff --git a/chrome/popup.js b/extension/popup.js similarity index 100% rename from chrome/popup.js rename to extension/popup.js