kvarenzn / phisap

[deprecated] [for android] Semi-automatic player for the rhythm game "Phigros"
174 stars 38 forks source link

请制作有关如何运行此程序的视频 #67

Open BLANK0104 opened 1 year ago

BLANK0104 commented 1 year ago

我在安装程序时遇到了一些麻烦,所以如果可能的话,请制作一个关于如何正确运行这个程序的视频

kvarenzn commented 1 year ago

很抱歉,我不会做视频,没学过,也不想学

不过你可以说说你遇到了什么问题,如果能带上报错的截图就更好了

当然,正如我在README中提到过的,建议你遇到问题时先尝试在搜索引擎上找找解决方案

BLANK0104 commented 1 year ago

抱歉回复晚了。我忙于大学考试,所以我无法回复。所以我面临的问题是第三步。当我运行命令(“ adb pull $(adb shell pm path com.PigeonGames.Phigros | cut -f2 -d:) ./Phigros.apk) ./Phigros.apk)我收到一个错误,我还附上了图片以供参考。 image

kvarenzn commented 1 year ago

(it seems that your native language is not Chinese. (i'm guessing from my experience, so sorry if I'm wrong))

The command given in the README can only be run on *nix systems (because this command used the syntax of bash shell). I did not explain it clearly in README. I will add it later.

I'm not quite sure what the equivalent command is under Powershell, but you can complete it in three steps

  1. adb shell pm path com.PigeonGames.Phigros This command will output a line of text similar to the following
    package:/data/app/com.PigeonGames.Phigros-Sy-9ZnvfF29dNjdjthXtkg==/base.apk
  2. Copy the path starting with /data/app
  3. adb pull <paste the path you've copied here> Phigros.apk

This command should be like

adb pull /data/app/com.PigeonGames.Phigros-Sy-9ZnvfF29dNjdjthXtkg==/base.apk Phigros.apk

Finally, you will get a Phigros.apk in the current directory

However, you can download a complete installation package of Phigros directly from the internet.

--- The following is the original text in Chinese ---

README中给出的那条命令只能在*nix系统上运行(因为用的语法是bash shell的语法),不过我README里确实没有说清楚,稍后补上

我不太清楚Powershell下等价的表达是什么,不过你可以分三步来完成

  1. adb shell pm path com.PigeonGames.Phigros 这条命令会输出一行类似于下边的文字
    package:/data/app/com.PigeonGames.Phigros-Sy-9ZnvfF29dNjdjthXtkg==/base.apk
  2. 复制以/data/app开头的那个路径
  3. adb pull <把你复制的路径粘贴到这里> Phigros.apk 这条命令应该长成这样
    adb pull /data/app/com.PigeonGames.Phigros-Sy-9ZnvfF29dNjdjthXtkg==/base.apk Phigros.apk

最终你会在当前目录下得到一个Phigros.apk

不过你完全可以直接从网络上下载一个完整的游戏安装包