diff --git a/scripts/setEnvFile.cjs b/scripts/setEnvFile.cjs
index b33b6d096..a4b5ee278 100644
--- a/scripts/setEnvFile.cjs
+++ b/scripts/setEnvFile.cjs
@@ -33,7 +33,9 @@ fs.readFile(path.join(__dirname, '..', '.env'), 'utf8', (err, existingData) => {
})
.join(os.EOL);
- data += os.EOL + existingData;
+ if (existingEnvData) {
+ data += os.EOL + existingEnvData;
+ }
fs.writeFile(path.join(__dirname, '..', '.env'), data, 'utf8', err => {
if (err) {
diff --git a/src/hooks/persisted/usePlugins.ts b/src/hooks/persisted/usePlugins.ts
index 953b31777..be5fbef05 100644
--- a/src/hooks/persisted/usePlugins.ts
+++ b/src/hooks/persisted/usePlugins.ts
@@ -138,7 +138,7 @@ export default function usePlugins() {
const updatePlugin = (plugin: PluginItem) => {
return _update(plugin).then(_plg => {
- if (plugin.version === _plg?.version) {
+ if (plugin.version === _plg?.version && !__DEV__) {
throw new Error('No update found!');
}
if (_plg) {
diff --git a/src/screens/browse/components/BrowseTabs.tsx b/src/screens/browse/components/BrowseTabs.tsx
index f0e65386e..29399d763 100644
--- a/src/screens/browse/components/BrowseTabs.tsx
+++ b/src/screens/browse/components/BrowseTabs.tsx
@@ -157,7 +157,7 @@ export const InstalledTab = memo(
- {item.hasUpdate ? (
+ {item.hasUpdate || __DEV__ ? (