We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3fa557 commit f27f74eCopy full SHA for f27f74e
app/src/main/java/cn/lliiooll/gmc/BotService.java
@@ -14,12 +14,14 @@
14
import net.lz1998.gomiraiclient.MainActivity;
15
import org.jetbrains.annotations.NotNull;
16
17
+import java.io.File;
18
+
19
public class BotService extends Service {
20
private static boolean active = false;
21
22
@Override
23
public void onCreate() {
-
24
+ Gmc_android.setPluginPath(new File(getFilesDir(),"plugins").getAbsolutePath());
25
new Thread(Gmc_android::start).start();
26
Toast.makeText(this, "Start Service", Toast.LENGTH_SHORT).show();
27
active = true;
0 commit comments