-
-
Notifications
You must be signed in to change notification settings - Fork 191
I have issues compiling locally when I disable the updater. #518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think a fix for that makes sense. If you're up for making a PR that would be greatly appreciated 👍🏼 |
🚀 Fix:
|
Please can you PR this to the nativephp/electron repo? |
What were you trying to do?
define my local management project with .env:
NATIVEPHP_APP_VERSION="1.0.0"
NATIVEPHP_APP_ID="com.netziweb.history"
NATIVEPHP_DEEPLINK_SCHEME="nativephp"
NATIVEPHP_APP_AUTHOR="NetziWeb"
NATIVEPHP_UPDATER_ENABLED=false
NATIVEPHP_UPDATER_PROVIDER=
NATIVEPHP_UPDATER_URL=
but to execute it php artisan native:publish generates this in file vendor/nativephp/electron/src/Updater/UpdaterManager.php:71 : NativePHP updater provider [] is not defined.
What happened?
You will also eliminate NATIVEPHP_UPDATER_PROVIDER and NATIVEPHP_UPDATER_URL from .env but continue with the same problem.
Also envied in NATIVEPHP_UPDATER_PROVIDER as empty or null but generates the same problem.
NativePHP updater provider [{$name}] is not defined.
How to reproduce the bug
I am using php 8.3.6, Ubuntu 24.04.2 LTS, y laravel 12.0, "nativephp/electron": "^1.0@beta" , sqlite 3, npm 10.8.2, node v20.18.3
Package Versions
jhoan@jhoan:~/code/clinicHistory.com$ composer show "nativephp/*" --format=json
PHP Version
8.3.6
Laravel Version
12.0
Node Version
v20.18.3
Which operating systems have you seen this occur on?
Ubuntu
OS version
24.04.2
Notes
No response
The text was updated successfully, but these errors were encountered: