Skip to content

Commit

Permalink
Set updater information.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Mörchen committed Sep 16, 2016
1 parent dd11636 commit be63f95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions favpress-demo-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ function favpress_demo_plugin_register_required_plugins() {
*/
require __DIR__ . '/libs/plugin-update-checker-3.1/plugin-update-checker.php';
$favpress_updater = PucFactory::buildUpdateChecker(
'__UPDATER_BASE_PATH__/updater.json',
'https://raw.githubusercontent.com/moewe-io/favpress-demo-plugin/stable/updater.json',
__FILE__,
'__PRODUCT_SLUG__',
'favpress-demo-plugin',
24
);
$favpress_updater->throttleRedundantChecks = true;
4 changes: 2 additions & 2 deletions updater.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "FavPress Demo Plugin",
"version": "1.0.0",
"author": "__AUTHOR_NAME__",
"download_url": "http://www.favpress.com",
"author": "MOEWE GbR - Adrian Mörchen, Markus Weigelt",
"download_url": "https://github.com/moewe-io/favpress-demo-plugin/archive/stable.zip",
"sections": {
"description": "This plugins shows what you can do with FavPress"
}
Expand Down

0 comments on commit be63f95

Please sign in to comment.