File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 11{
2- "name" : " khashayarzavosh /littlelink-admin " ,
2+ "name" : " julianprieber /littlelink-custom " ,
33 "type" : " project" ,
4- "description" : " Littlelink admin is an admin panel for littlelink " ,
4+ "description" : " LittleLink Custom is a highly customizable link sharing platform " ,
55 "keywords" : [" link" ],
66 "license" : " GPL-3.0-or-later" ,
77 "require" : {
4444 "post-root-package-install" : [
4545 " @php -r \" file_exists('.env') || copy('.env.example', '.env');\" "
4646 ],
47- "post-create-project-cmd" : [
48- " @php artisan key:generate --ansi"
49- ]
47+ "post-update-cmd" : [" echo.> storage/app/ISINSTALLED" ]
5048 },
5149 "extra" : {
5250 "laravel" : {
Original file line number Diff line number Diff line change 1717|
1818*/
1919
20+ // Prevents section below from being run by 'composer update'
21+ if (file_exists (base_path ('storage/app/ISINSTALLED ' ))){
2022 // generates new APP KEY if no one is set
2123 if (EnvEditor::getKey ('APP_KEY ' )=='' ){Artisan::call ('key:generate ' );}
2224
2325 // copies template meta config if none is present
2426 if (!file_exists (base_path ("config/advanced-config.php " ))){copy (base_path ('storage/templates/advanced-config.php ' ), base_path ('config/advanced-config.php ' ));}
27+ }
2528
2629//Changes the homepage to a LittleLink Custom profile if set in the config
2730if (config ('advanced-config.custom_home_url ' ) != '' ) {
You can’t perform that action at this time.
0 commit comments